Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.452/2.452, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001206/0.001206, allocations: 190.6 kB / 0.4902 GB, free: 2.246 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.552/1.552, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001278/0.001278, allocations: 107.8 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004225/0.0004228, allocations: 6.906 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3645, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.221/1.586, allocations: 426.8 MB / 1.646 GB, free: 3.051 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/1.586, allocations: 97.97 kB / 1.646 GB, free: 3 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.019/3.605, allocations: 0.5708 GB / 2.217 GB, free: 106.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.156e-06/3.605, allocations: 4 kB / 2.217 GB, free: 106.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001459/3.605, allocations: 39.98 kB / 2.217 GB, free: 106.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.005391/3.611, allocations: 1.906 MB / 2.219 GB, free: 104.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/3.611, allocations: 12.03 kB / 2.219 GB, free: 104.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002608/3.611, allocations: 135.6 kB / 2.219 GB, free: 104.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003277/3.614, allocations: 0.6106 MB / 2.22 GB, free: 103.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003457/3.618, allocations: 1.628 MB / 2.221 GB, free: 102.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/3.618, allocations: 127.6 kB / 2.221 GB, free: 102.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/3.618, allocations: 92 kB / 2.221 GB, free: 102 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002789/3.621, allocations: 1.408 MB / 2.223 GB, free: 100.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/3.621, allocations: 3.938 kB / 2.223 GB, free: 100.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/3.621, allocations: 36 kB / 2.223 GB, free: 100.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.772e-05/3.621, allocations: 34 kB / 2.223 GB, free: 100.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003503/3.625, allocations: 1.542 MB / 2.224 GB, free: 98.98 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.007984/3.633, allocations: 5.439 MB / 2.23 GB, free: 93.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002896/3.635, allocations: 1.207 MB / 2.231 GB, free: 92.08 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006384/3.636, allocations: 1.077 MB / 2.232 GB, free: 90.76 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001642/3.638, allocations: 0.7525 MB / 2.233 GB, free: 90 MB / 1.167 GB Notification: Performance of pre-optimization done (n=60): time 3.436e-06/3.638, allocations: 0 / 2.233 GB, free: 90 MB / 1.167 GB Notification: Performance of matching and sorting (n=60): time 0.005045/3.643, allocations: 1.977 MB / 2.235 GB, free: 88.02 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/3.643, allocations: 63.92 kB / 2.235 GB, free: 87.94 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/3.645, allocations: 1.245 MB / 2.236 GB, free: 86.69 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/3.645, allocations: 41.7 kB / 2.236 GB, free: 86.64 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004855/3.645, allocations: 0.658 MB / 2.236 GB, free: 85.98 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/3.646, allocations: 209 kB / 2.237 GB, free: 85.77 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/3.646, allocations: 8 kB / 2.237 GB, free: 85.76 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.045e-05/3.646, allocations: 338 kB / 2.237 GB, free: 85.43 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/3.647, allocations: 0.607 MB / 2.238 GB, free: 84.82 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/3.649, allocations: 0.8367 MB / 2.238 GB, free: 83.89 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/3.65, allocations: 0.615 MB / 2.239 GB, free: 83.27 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/3.65, allocations: 0 / 2.239 GB, free: 83.27 MB / 1.167 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003695/3.654, allocations: 1.528 MB / 2.241 GB, free: 81.73 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/3.654, allocations: 8 kB / 2.241 GB, free: 81.72 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/3.654, allocations: 7.984 kB / 2.241 GB, free: 81.71 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/3.654, allocations: 8 kB / 2.241 GB, free: 81.71 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/3.655, allocations: 275.9 kB / 2.241 GB, free: 81.44 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/3.655, allocations: 15.94 kB / 2.241 GB, free: 81.42 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/3.657, allocations: 222.8 kB / 2.241 GB, free: 81.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/3.657, allocations: 55.95 kB / 2.241 GB, free: 81.15 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.0008916/3.658, allocations: 357.6 kB / 2.241 GB, free: 80.79 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/3.658, allocations: 150.2 kB / 2.242 GB, free: 80.64 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003663/3.662, allocations: 1.586 MB / 2.243 GB, free: 79.05 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/3.662, allocations: 15.92 kB / 2.243 GB, free: 79.03 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/3.662, allocations: 0 / 2.243 GB, free: 79.03 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002991/3.665, allocations: 1.407 MB / 2.245 GB, free: 77.59 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006347/3.672, allocations: 3.191 MB / 2.248 GB, free: 74.31 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/3.672, allocations: 0 / 2.248 GB, free: 74.31 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/3.673, allocations: 231.9 kB / 2.248 GB, free: 74.08 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/3.673, allocations: 4 kB / 2.248 GB, free: 74.08 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-05/3.673, allocations: 27.97 kB / 2.248 GB, free: 74.05 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/3.673, allocations: 4 kB / 2.248 GB, free: 74.05 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/3.673, allocations: 4 kB / 2.248 GB, free: 74.04 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005536/3.678, allocations: 2.609 MB / 2.25 GB, free: 71.31 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/3.68, allocations: 402.8 kB / 2.251 GB, free: 70.89 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/3.68, allocations: 16 kB / 2.251 GB, free: 70.88 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/3.681, allocations: 143.9 kB / 2.251 GB, free: 70.74 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/3.681, allocations: 56.39 kB / 2.251 GB, free: 70.68 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/3.681, allocations: 51.95 kB / 2.251 GB, free: 70.63 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001427/3.683, allocations: 0.9986 MB / 2.252 GB, free: 69.64 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/3.683, allocations: 0 / 2.252 GB, free: 69.64 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001642/3.684, allocations: 0.4913 MB / 2.253 GB, free: 69.14 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.006289/3.691, allocations: 4.106 MB / 2.257 GB, free: 64.97 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003206/3.694, allocations: 1.32 MB / 2.258 GB, free: 63.65 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/3.694, allocations: 0.5 kB / 2.258 GB, free: 63.65 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001629/3.696, allocations: 0.7139 MB / 2.259 GB, free: 62.93 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003737/3.699, allocations: 0.723 MB / 2.259 GB, free: 62.22 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01898/3.718, allocations: 13.14 MB / 2.272 GB, free: 48.64 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006838/3.719, allocations: 1.26 MB / 2.273 GB, free: 47.35 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001813/3.721, allocations: 318.7 kB / 2.274 GB, free: 47.04 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00088/3.722, allocations: 0.5656 MB / 2.274 GB, free: 46.47 MB / 1.167 GB Notification: Performance of SimCode: time 1.643e-06/3.722, allocations: 3.938 kB / 2.274 GB, free: 46.46 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07342/3.795, allocations: 45.54 MB / 2.319 GB, free: 1.312 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/3.795, allocations: 241.7 kB / 2.319 GB, free: 1.066 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.692/7.488, allocations: 3.375 kB / 2.319 GB, free: 1.066 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat does not exist to compare? outputFormat=mat