Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.361/2.361, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003088, allocations: 8 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6926/0.693, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.05122/0.7442, allocations: 51.34 MB / 1.004 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01554/0.7598, allocations: 10.3 MB / 1.014 GB, free: 2.355 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.7622, allocations: 51.62 kB / 1.014 GB, free: 2.305 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002234/0.7644, allocations: 0.6296 MB / 1.014 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006085/0.7705, allocations: 1.944 MB / 1.016 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003845/0.7744, allocations: 1.312 MB / 1.018 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003518/0.7779, allocations: 1.851 MB / 1.019 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.7792, allocations: 0.8096 MB / 1.02 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.7812, allocations: 0.9847 MB / 1.021 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009719/0.7822, allocations: 0.6027 MB / 1.022 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.7823, allocations: 40 kB / 1.022 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002252/0.7846, allocations: 1.018 MB / 1.023 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.7848, allocations: 199.1 kB / 1.023 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003107/0.7852, allocations: 281 kB / 1.023 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001925/0.7871, allocations: 1.602 MB / 1.025 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.7871, allocations: 0 / 1.025 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7871, allocations: 0 / 1.025 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.009e-05/0.7871, allocations: 0 / 1.025 GB, free: 7.008 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002737/0.7899, allocations: 1.501 MB / 1.026 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.7899, allocations: 16.02 kB / 1.026 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001403/0.7901, allocations: 118.7 kB / 1.026 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.7918, allocations: 386 kB / 1.027 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.7938, allocations: 1.047 MB / 1.028 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003738/0.7942, allocations: 137.8 kB / 1.028 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.7943, allocations: 84 kB / 1.028 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.7962, allocations: 0.9583 MB / 1.029 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.7962, allocations: 0 / 1.029 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-05/0.7963, allocations: 32 kB / 1.029 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/0.7964, allocations: 20 kB / 1.029 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.7985, allocations: 0.8391 MB / 1.03 GB, free: 1.719 MB / 0.7794 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006863/0.8054, allocations: 4.823 MB / 1.035 GB, free: 12.54 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.807, allocations: 0.6183 MB / 1.035 GB, free: 11.91 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/0.8084, allocations: 1.392 MB / 1.037 GB, free: 10.23 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.8084, allocations: 38.56 kB / 1.037 GB, free: 10.18 MB / 0.795 GB Notification: Performance of pre-optimization done (n=44): time 2.414e-06/0.8084, allocations: 0 / 1.037 GB, free: 10.18 MB / 0.795 GB Notification: Performance of matching and sorting (n=44): time 0.006301/0.8147, allocations: 1.674 MB / 1.038 GB, free: 8.477 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.8148, allocations: 59.36 kB / 1.038 GB, free: 8.406 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.8166, allocations: 1.071 MB / 1.039 GB, free: 7.32 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.163e-05/0.8167, allocations: 37.7 kB / 1.039 GB, free: 7.277 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004824/0.8172, allocations: 0.5119 MB / 1.04 GB, free: 6.762 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.8173, allocations: 161.6 kB / 1.04 GB, free: 6.602 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.8174, allocations: 12 kB / 1.04 GB, free: 6.59 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.8175, allocations: 326 kB / 1.04 GB, free: 6.266 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007426/0.8183, allocations: 284.9 kB / 1.041 GB, free: 5.988 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009267/0.8192, allocations: 487.7 kB / 1.041 GB, free: 5.438 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008113/0.82, allocations: 323.4 kB / 1.041 GB, free: 5.121 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.8201, allocations: 0 / 1.041 GB, free: 5.121 MB / 0.795 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002429/0.8225, allocations: 0.9651 MB / 1.042 GB, free: 4.145 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006035/0.8231, allocations: 1.497 MB / 1.044 GB, free: 2.539 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.8231, allocations: 7.938 kB / 1.044 GB, free: 2.531 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/0.8245, allocations: 338.9 kB / 1.044 GB, free: 2.199 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.825, allocations: 111.9 kB / 1.044 GB, free: 2.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.8265, allocations: 0.9348 MB / 1.045 GB, free: 1.129 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.8277, allocations: 179.2 kB / 1.045 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.194e-05/0.8278, allocations: 27.98 kB / 1.045 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.8279, allocations: 4 kB / 1.045 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002129/0.83, allocations: 0.8436 MB / 1.046 GB, free: 76 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.83, allocations: 8.062 kB / 1.046 GB, free: 68 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/0.8312, allocations: 324.6 kB / 1.046 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/0.8316, allocations: 123.9 kB / 1.047 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.8331, allocations: 0.9301 MB / 1.047 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.8342, allocations: 165.5 kB / 1.048 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.967e-05/0.8342, allocations: 27.98 kB / 1.048 GB, free: 14.48 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005518/0.8348, allocations: 352.6 kB / 1.048 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.835, allocations: 110.6 kB / 1.048 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.8371, allocations: 0.94 MB / 1.049 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.8372, allocations: 15.95 kB / 1.049 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.8372, allocations: 0 / 1.049 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.8372, allocations: 3.984 kB / 1.049 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005828/0.843, allocations: 2.342 MB / 1.051 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/0.8431, allocations: 4.281 kB / 1.051 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.8433, allocations: 55.97 kB / 1.051 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/0.8444, allocations: 329.9 kB / 1.052 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.8444, allocations: 19.98 kB / 1.052 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.8459, allocations: 0.9677 MB / 1.053 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.8459, allocations: 7.969 kB / 1.053 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004353/0.8503, allocations: 1.472 MB / 1.054 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006176/0.8509, allocations: 287.4 kB / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002286/0.8512, allocations: 19.95 kB / 1.054 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009417/0.8521, allocations: 103.8 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.317e-05/0.8522, allocations: 31.95 kB / 1.055 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-05/0.8523, allocations: 23.98 kB / 1.055 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001369/0.8537, allocations: 0.7508 MB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8537, allocations: 0 / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001717/0.8554, allocations: 0.5731 MB / 1.056 GB, free: 5.844 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004757/0.8602, allocations: 2.792 MB / 1.059 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002988/0.8632, allocations: 1.055 MB / 1.06 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.8632, allocations: 0 / 1.06 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008213/0.864, allocations: 338.2 kB / 1.06 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/0.8668, allocations: 0.4922 MB / 1.06 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007026/0.8738, allocations: 5.503 MB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008205/0.8747, allocations: 1.089 MB / 1.067 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001097/0.8758, allocations: 225.3 kB / 1.067 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006358/0.8764, allocations: 411.3 kB / 1.067 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of SimCode: time 8.82e-07/0.8764, allocations: 0 / 1.067 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06011/0.9366, allocations: 33.28 MB / 1.1 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/0.9368, allocations: 247.6 kB / 1.1 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.717/3.654, allocations: 3.938 kB / 1.1 GB, free: 8.543 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL_res.mat does not exist to compare? outputFormat=mat