Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.316/2.316, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 192.8 kB / 498.1 MB, free: 5.727 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.2 MB / 0.7948 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001017, allocations: 106.4 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003375, allocations: 13.81 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2889, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/1.416, allocations: 426 MB / 1.639 GB, free: 2.484 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003763/1.416, allocations: 91.97 kB / 1.639 GB, free: 2.438 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.151/3.567, allocations: 0.5708 GB / 2.21 GB, free: 122.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.703e-06/3.567, allocations: 0 / 2.21 GB, free: 122.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002396/3.567, allocations: 39.94 kB / 2.21 GB, free: 122.7 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.006054/3.573, allocations: 1.906 MB / 2.212 GB, free: 120.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/3.573, allocations: 8.031 kB / 2.212 GB, free: 120.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005217/3.574, allocations: 147.6 kB / 2.212 GB, free: 120.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003775/3.577, allocations: 0.599 MB / 2.212 GB, free: 120 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004751/3.582, allocations: 1.631 MB / 2.214 GB, free: 118.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/3.583, allocations: 127.6 kB / 2.214 GB, free: 118.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003513/3.583, allocations: 96 kB / 2.214 GB, free: 118.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003552/3.586, allocations: 1.401 MB / 2.216 GB, free: 116.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/3.586, allocations: 4 kB / 2.216 GB, free: 116.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/3.587, allocations: 39.98 kB / 2.216 GB, free: 116.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.192e-05/3.587, allocations: 45.92 kB / 2.216 GB, free: 116.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00365/3.59, allocations: 1.53 MB / 2.217 GB, free: 115.1 MB / 1.167 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.008823/3.599, allocations: 5.45 MB / 2.222 GB, free: 109.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002955/3.602, allocations: 1.201 MB / 2.224 GB, free: 108.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006842/3.603, allocations: 1.077 MB / 2.225 GB, free: 106.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001662/3.605, allocations: 0.7564 MB / 2.225 GB, free: 106.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=60): time 3.607e-06/3.605, allocations: 0 / 2.225 GB, free: 106.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=60): time 0.00509/3.61, allocations: 1.977 MB / 2.227 GB, free: 104.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/3.61, allocations: 63.92 kB / 2.227 GB, free: 104 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/3.611, allocations: 1.245 MB / 2.229 GB, free: 102.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001299/3.612, allocations: 45.64 kB / 2.229 GB, free: 102.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004993/3.612, allocations: 0.6581 MB / 2.229 GB, free: 102 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/3.612, allocations: 201 kB / 2.23 GB, free: 101.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/3.612, allocations: 16 kB / 2.23 GB, free: 101.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.207e-05/3.612, allocations: 334 kB / 2.23 GB, free: 101.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/3.614, allocations: 0.6109 MB / 2.23 GB, free: 100.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/3.616, allocations: 0.8327 MB / 2.231 GB, free: 99.95 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/3.617, allocations: 0.6072 MB / 2.232 GB, free: 99.34 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/3.617, allocations: 4 kB / 2.232 GB, free: 99.34 MB / 1.167 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003658/3.621, allocations: 1.536 MB / 2.233 GB, free: 97.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/3.621, allocations: 9.562 kB / 2.233 GB, free: 97.79 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/3.621, allocations: 4 kB / 2.233 GB, free: 97.79 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.368e-05/3.621, allocations: 8 kB / 2.233 GB, free: 97.78 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/3.622, allocations: 275.7 kB / 2.234 GB, free: 97.51 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/3.622, allocations: 11.98 kB / 2.234 GB, free: 97.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/3.624, allocations: 226.8 kB / 2.234 GB, free: 97.27 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/3.624, allocations: 59.97 kB / 2.234 GB, free: 97.21 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,absIndSte.on,$PRE.onOff.pulseStart,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008704/3.625, allocations: 358 kB / 2.234 GB, free: 96.86 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/3.625, allocations: 146.2 kB / 2.234 GB, free: 96.71 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003733/3.629, allocations: 1.582 MB / 2.236 GB, free: 95.11 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/3.629, allocations: 11.98 kB / 2.236 GB, free: 95.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/3.629, allocations: 0 / 2.236 GB, free: 95.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003167/3.632, allocations: 1.415 MB / 2.237 GB, free: 93.66 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006774/3.639, allocations: 3.184 MB / 2.24 GB, free: 90.38 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/3.639, allocations: 4 kB / 2.24 GB, free: 90.38 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/3.64, allocations: 220 kB / 2.241 GB, free: 90.16 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.311e-05/3.64, allocations: 12 kB / 2.241 GB, free: 90.15 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-05/3.64, allocations: 23.97 kB / 2.241 GB, free: 90.13 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.649e-06/3.64, allocations: 11.94 kB / 2.241 GB, free: 90.12 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/3.64, allocations: 0 / 2.241 GB, free: 90.12 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005774/3.646, allocations: 2.613 MB / 2.243 GB, free: 87.38 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/3.647, allocations: 402.8 kB / 2.244 GB, free: 86.96 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004713/3.648, allocations: 16 kB / 2.244 GB, free: 86.95 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/3.649, allocations: 143.9 kB / 2.244 GB, free: 86.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/3.65, allocations: 60.44 kB / 2.244 GB, free: 86.75 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/3.65, allocations: 47.95 kB / 2.244 GB, free: 86.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001983/3.652, allocations: 0.9986 MB / 2.245 GB, free: 85.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/3.652, allocations: 0 / 2.245 GB, free: 85.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002309/3.654, allocations: 0.4953 MB / 2.245 GB, free: 85.21 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,absIndSte.on,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007381/3.661, allocations: 4.121 MB / 2.249 GB, free: 81.02 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003553/3.665, allocations: 1.324 MB / 2.251 GB, free: 79.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/3.665, allocations: 4 kB / 2.251 GB, free: 79.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001668/3.667, allocations: 0.695 MB / 2.251 GB, free: 79 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004268/3.671, allocations: 0.7228 MB / 2.252 GB, free: 78.29 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02356/3.695, allocations: 13.15 MB / 2.265 GB, free: 64.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000966/3.696, allocations: 1.26 MB / 2.266 GB, free: 63.41 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001954/3.698, allocations: 315.4 kB / 2.266 GB, free: 63.09 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/3.699, allocations: 0.5617 MB / 2.267 GB, free: 62.53 MB / 1.167 GB Notification: Performance of SimCode: time 1.573e-06/3.699, allocations: 0 / 2.267 GB, free: 62.53 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08429/3.783, allocations: 45.54 MB / 2.311 GB, free: 17.42 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/3.783, allocations: 234.8 kB / 2.312 GB, free: 17.17 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.154/7.937, allocations: 4.062 kB / 2.312 GB, free: 17.17 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat does not exist to compare? outputFormat=mat