Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.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.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1",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.338/2.338, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001117/0.001117, allocations: 194.9 kB / 0.4902 GB, free: 2.23 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.658/1.658, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.0009778/0.0009778, allocations: 100.1 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003681, allocations: 10.38 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3505, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.301/4.651, allocations: 1.919 GB / 3.148 GB, free: 61.91 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/4.652, allocations: 95.95 kB / 3.148 GB, free: 61.82 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.135/5.787, allocations: 174.3 MB / 3.319 GB, free: 357.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.745e-06/5.787, allocations: 192 / 3.319 GB, free: 357.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.506e-05/5.787, allocations: 23.92 kB / 3.319 GB, free: 357.6 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001971/5.789, allocations: 0.8425 MB / 3.319 GB, free: 356.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.898e-05/5.789, allocations: 8.562 kB / 3.319 GB, free: 356.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/5.789, allocations: 66.55 kB / 3.32 GB, free: 356.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/5.79, allocations: 147.2 kB / 3.32 GB, free: 356.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/5.791, allocations: 0.5146 MB / 3.32 GB, free: 355.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/5.791, allocations: 20.56 kB / 3.32 GB, free: 355.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.26e-05/5.791, allocations: 31.95 kB / 3.32 GB, free: 355.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00056/5.792, allocations: 323.6 kB / 3.321 GB, free: 355.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/5.792, allocations: 0 / 3.321 GB, free: 355.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/5.792, allocations: 12 kB / 3.321 GB, free: 355.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/5.792, allocations: 8.562 kB / 3.321 GB, free: 355.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004/5.792, allocations: 222.1 kB / 3.321 GB, free: 355.3 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.001998/5.794, allocations: 1.451 MB / 3.322 GB, free: 353.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/5.795, allocations: 239.9 kB / 3.322 GB, free: 353.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/5.795, allocations: 7.938 kB / 3.322 GB, free: 353.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000295/5.795, allocations: 161 kB / 3.323 GB, free: 353.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=26): time 1.834e-06/5.795, allocations: 0 / 3.323 GB, free: 353.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=29): time 0.002838/5.798, allocations: 1.096 MB / 3.324 GB, free: 352.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/5.798, allocations: 59.39 kB / 3.324 GB, free: 352.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005395/5.799, allocations: 417 kB / 3.324 GB, free: 351.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/5.799, allocations: 37.64 kB / 3.324 GB, free: 351.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/5.799, allocations: 236.2 kB / 3.324 GB, free: 351.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.872e-05/5.799, allocations: 102.5 kB / 3.324 GB, free: 351.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/5.799, allocations: 16 kB / 3.324 GB, free: 351.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001714/5.799, allocations: 346.8 kB / 3.325 GB, free: 350.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/5.799, allocations: 136.7 kB / 3.325 GB, free: 350.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/5.8, allocations: 191.4 kB / 3.325 GB, free: 350.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/5.8, allocations: 153.6 kB / 3.325 GB, free: 350.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/5.8, allocations: 4 kB / 3.325 GB, free: 350.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009394/5.801, allocations: 0.4886 MB / 3.326 GB, free: 349.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/5.801, allocations: 4 kB / 3.326 GB, free: 349.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/5.801, allocations: 4 kB / 3.326 GB, free: 349.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004218/5.801, allocations: 76.8 kB / 3.326 GB, free: 349.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/5.802, allocations: 63.91 kB / 3.326 GB, free: 349.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/5.804, allocations: 1.796 MB / 3.328 GB, free: 347.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/5.804, allocations: 23.92 kB / 3.328 GB, free: 347.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/5.804, allocations: 20.06 kB / 3.328 GB, free: 347.8 MB / 1.167 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 () * Number of clocked 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 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002973/5.805, allocations: 194.5 kB / 3.328 GB, free: 347.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/5.805, allocations: 43.44 kB / 3.328 GB, free: 347.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008929/5.806, allocations: 415.1 kB / 3.328 GB, free: 347.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/5.806, allocations: 8 kB / 3.328 GB, free: 347.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/5.806, allocations: 0 / 3.328 GB, free: 347.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/5.806, allocations: 4 kB / 3.328 GB, free: 347.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/5.807, allocations: 0.9717 MB / 3.329 GB, free: 346.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/5.807, allocations: 0 / 3.329 GB, free: 346.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/5.808, allocations: 75.89 kB / 3.329 GB, free: 346 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003032/5.808, allocations: 68.8 kB / 3.329 GB, free: 345.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/5.808, allocations: 15.98 kB / 3.329 GB, free: 345.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/5.809, allocations: 1.569 MB / 3.331 GB, free: 344.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/5.809, allocations: 3.938 kB / 3.331 GB, free: 344.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009102/5.81, allocations: 0.5783 MB / 3.332 GB, free: 343.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/5.81, allocations: 156.5 kB / 3.332 GB, free: 343.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.439e-05/5.81, allocations: 12 kB / 3.332 GB, free: 343.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/5.811, allocations: 15.98 kB / 3.332 GB, free: 343.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/5.811, allocations: 15.97 kB / 3.332 GB, free: 343.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/5.811, allocations: 19.98 kB / 3.332 GB, free: 343.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003112/5.811, allocations: 311.1 kB / 3.332 GB, free: 343.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/5.811, allocations: 0 / 3.332 GB, free: 343.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008719/5.812, allocations: 195.9 kB / 3.332 GB, free: 342.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003266/5.815, allocations: 2.059 MB / 3.334 GB, free: 341 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001001/5.816, allocations: 454.5 kB / 3.335 GB, free: 340.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/5.816, allocations: 0 / 3.335 GB, free: 340.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002779/5.817, allocations: 250.6 kB / 3.335 GB, free: 340.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/5.818, allocations: 212.1 kB / 3.335 GB, free: 340.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/5.821, allocations: 2.394 MB / 3.337 GB, free: 337.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/5.821, allocations: 0.862 MB / 3.338 GB, free: 336.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003919/5.821, allocations: 88.33 kB / 3.338 GB, free: 336.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/5.822, allocations: 163.4 kB / 3.339 GB, free: 336.4 MB / 1.167 GB Notification: Performance of SimCode: time 7.053e-06/5.822, allocations: 0 / 3.339 GB, free: 336.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0436/5.865, allocations: 23.93 MB / 3.362 GB, free: 312.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/5.865, allocations: 239.6 kB / 3.362 GB, free: 312.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.254/9.119, allocations: 0 / 3.362 GB, free: 312.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat does not exist to compare? outputFormat=mat