Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.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.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System1",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.431/2.431, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001884/0.001884, allocations: 188.8 kB / 487.4 MB, free: 5.02 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.864/1.864, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 91.84 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.931e-05/1.928e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3369, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.044/6.381, allocations: 1.918 GB / 3.124 GB, free: 351.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/6.382, allocations: 91.72 kB / 3.124 GB, free: 351.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.3229/6.704, allocations: 172.1 MB / 3.292 GB, free: 217.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.493e-06/6.705, allocations: 4 kB / 3.292 GB, free: 217.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.504e-05/6.705, allocations: 20.12 kB / 3.292 GB, free: 217.9 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001201/6.706, allocations: 0.7367 MB / 3.293 GB, free: 217.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/6.706, allocations: 8.031 kB / 3.293 GB, free: 217.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009868/6.707, allocations: 159.2 kB / 3.293 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008151/6.708, allocations: 0.5033 MB / 3.293 GB, free: 216.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/6.708, allocations: 12 kB / 3.293 GB, free: 216.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/6.708, allocations: 20 kB / 3.293 GB, free: 216.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003494/6.708, allocations: 201 kB / 3.293 GB, free: 216.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/6.709, allocations: 270.6 kB / 3.294 GB, free: 215.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/6.709, allocations: 0 / 3.294 GB, free: 215.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/6.709, allocations: 0 / 3.294 GB, free: 215.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/6.709, allocations: 12.5 kB / 3.294 GB, free: 215.9 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.001685/6.71, allocations: 1.404 MB / 3.295 GB, free: 214.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/6.711, allocations: 206.9 kB / 3.295 GB, free: 214.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/6.711, allocations: 104.7 kB / 3.295 GB, free: 214 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/6.711, allocations: 4 kB / 3.295 GB, free: 214 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/6.711, allocations: 151.3 kB / 3.296 GB, free: 213.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=26): time 1.913e-06/6.711, allocations: 0 / 3.296 GB, free: 213.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=29): time 0.002153/6.713, allocations: 0.9343 MB / 3.296 GB, free: 212.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/6.713, allocations: 55.41 kB / 3.296 GB, free: 212.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/6.714, allocations: 393.1 kB / 3.297 GB, free: 212.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/6.714, allocations: 33.7 kB / 3.297 GB, free: 212.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/6.714, allocations: 228.5 kB / 3.297 GB, free: 212.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.285e-05/6.714, allocations: 98.59 kB / 3.297 GB, free: 212 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/6.714, allocations: 3.938 kB / 3.297 GB, free: 212 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.412e-05/6.714, allocations: 354.8 kB / 3.298 GB, free: 211.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/6.714, allocations: 124.7 kB / 3.298 GB, free: 211.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/6.714, allocations: 174.3 kB / 3.298 GB, free: 211.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/6.714, allocations: 149.5 kB / 3.298 GB, free: 211.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/6.715, allocations: 4 kB / 3.298 GB, free: 211.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007986/6.715, allocations: 468.1 kB / 3.298 GB, free: 210.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/6.715, allocations: 7.984 kB / 3.298 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/6.715, allocations: 4 kB / 3.298 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003318/6.716, allocations: 84.91 kB / 3.299 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/6.716, allocations: 59.91 kB / 3.299 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/6.717, allocations: 1.705 MB / 3.3 GB, free: 208.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/6.718, allocations: 12 kB / 3.3 GB, free: 208.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/6.718, allocations: 19.98 kB / 3.3 GB, free: 208.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.614e-05/6.718, allocations: 109.6 kB / 3.3 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006287/6.719, allocations: 349.8 kB / 3.301 GB, free: 208.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/6.719, allocations: 43.53 kB / 3.301 GB, free: 208.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006878/6.719, allocations: 383.1 kB / 3.301 GB, free: 207.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/6.719, allocations: 4 kB / 3.301 GB, free: 207.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/6.719, allocations: 0 / 3.301 GB, free: 207.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/6.719, allocations: 0 / 3.301 GB, free: 207.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/6.721, allocations: 0.9142 MB / 3.302 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/6.721, allocations: 4 kB / 3.302 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/6.721, allocations: 55.91 kB / 3.302 GB, free: 206.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004258/6.721, allocations: 104.8 kB / 3.302 GB, free: 206.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/6.721, allocations: 8 kB / 3.302 GB, free: 206.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/6.722, allocations: 1.658 MB / 3.304 GB, free: 204.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/6.723, allocations: 0 / 3.304 GB, free: 204.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007533/6.723, allocations: 0.5474 MB / 3.304 GB, free: 204.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/6.723, allocations: 156.5 kB / 3.304 GB, free: 204.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/6.723, allocations: 3.938 kB / 3.304 GB, free: 204.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/6.724, allocations: 12.12 kB / 3.304 GB, free: 204.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/6.724, allocations: 27.95 kB / 3.305 GB, free: 204.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/6.724, allocations: 12 kB / 3.305 GB, free: 204.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002651/6.724, allocations: 282.9 kB / 3.305 GB, free: 203.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/6.724, allocations: 0 / 3.305 GB, free: 203.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007053/6.725, allocations: 171.9 kB / 3.305 GB, free: 203.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002506/6.727, allocations: 2.071 MB / 3.307 GB, free: 201.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007328/6.728, allocations: 409.9 kB / 3.307 GB, free: 201.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/6.728, allocations: 0 / 3.307 GB, free: 201.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003838/6.729, allocations: 261.9 kB / 3.308 GB, free: 201 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009994/6.73, allocations: 203.3 kB / 3.308 GB, free: 200.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/6.731, allocations: 0.8557 MB / 3.309 GB, free: 199.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/6.731, allocations: 0.8581 MB / 3.309 GB, free: 199 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003633/6.732, allocations: 84.31 kB / 3.31 GB, free: 199 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/6.732, allocations: 155.4 kB / 3.31 GB, free: 198.8 MB / 1.151 GB Notification: Performance of SimCode: time 6.21e-07/6.732, allocations: 4 kB / 3.31 GB, free: 198.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03954/6.771, allocations: 17.09 MB / 3.326 GB, free: 181.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/6.772, allocations: 154.1 kB / 3.327 GB, free: 181.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.715/9.486, allocations: 32 / 3.327 GB, free: 181.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.mat does not exist to compare? outputFormat=mat