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.409/2.409, allocations: 390.5 MB / 398 MB, free: 10.98 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.001105/0.001105, allocations: 175.9 kB / 491.2 MB, free: 1.609 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.844/1.844, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0009449/0.0009448, allocations: 91.89 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.913e-05/1.915e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.371, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.271/6.642, allocations: 1.918 GB / 3.131 GB, free: 410.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/6.642, allocations: 83.95 kB / 3.131 GB, free: 410.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.3282/6.97, allocations: 172.1 MB / 3.299 GB, free: 235.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.585e-06/6.97, allocations: 4 kB / 3.299 GB, free: 235.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.767e-05/6.97, allocations: 16 kB / 3.299 GB, free: 235.5 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.001374/6.972, allocations: 0.7442 MB / 3.3 GB, free: 234.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/6.972, allocations: 8.031 kB / 3.3 GB, free: 234.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/6.973, allocations: 151.2 kB / 3.3 GB, free: 234.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008869/6.974, allocations: 0.5072 MB / 3.3 GB, free: 234 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/6.974, allocations: 12 kB / 3.3 GB, free: 234 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/6.974, allocations: 24 kB / 3.3 GB, free: 234 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003774/6.974, allocations: 193.1 kB / 3.301 GB, free: 233.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/6.974, allocations: 274.6 kB / 3.301 GB, free: 233.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/6.975, allocations: 0 / 3.301 GB, free: 233.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/6.975, allocations: 0 / 3.301 GB, free: 233.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/6.975, allocations: 8.562 kB / 3.301 GB, free: 233.5 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.001782/6.976, allocations: 1.403 MB / 3.302 GB, free: 232 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/6.977, allocations: 207.9 kB / 3.302 GB, free: 231.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/6.977, allocations: 102.8 kB / 3.302 GB, free: 231.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/6.977, allocations: 4 kB / 3.303 GB, free: 231.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/6.977, allocations: 155.3 kB / 3.303 GB, free: 231.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/6.977, allocations: 0 / 3.303 GB, free: 231.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=29): time 0.002339/6.979, allocations: 0.9363 MB / 3.304 GB, free: 230.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/6.98, allocations: 55.41 kB / 3.304 GB, free: 230.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/6.98, allocations: 389.2 kB / 3.304 GB, free: 230.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/6.98, allocations: 29.7 kB / 3.304 GB, free: 230 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/6.98, allocations: 232.5 kB / 3.304 GB, free: 229.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.469e-05/6.98, allocations: 98.58 kB / 3.304 GB, free: 229.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/6.98, allocations: 0 / 3.304 GB, free: 229.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000106/6.98, allocations: 350.8 kB / 3.305 GB, free: 229.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/6.98, allocations: 124.7 kB / 3.305 GB, free: 229.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/6.981, allocations: 182.2 kB / 3.305 GB, free: 229 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/6.981, allocations: 154.2 kB / 3.305 GB, free: 228.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/6.981, allocations: 0 / 3.305 GB, free: 228.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008199/6.982, allocations: 467.5 kB / 3.306 GB, free: 228.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/6.982, allocations: 5.719 kB / 3.306 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/6.982, allocations: 4 kB / 3.306 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003304/6.982, allocations: 84.95 kB / 3.306 GB, free: 228.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/6.983, allocations: 63.91 kB / 3.306 GB, free: 228.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/6.984, allocations: 1.693 MB / 3.307 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/6.984, allocations: 15.89 kB / 3.307 GB, free: 226.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/6.984, allocations: 16 kB / 3.307 GB, free: 226.4 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 0.0001461/6.985, allocations: 108.9 kB / 3.307 GB, free: 226.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000659/6.985, allocations: 363.4 kB / 3.308 GB, free: 225.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/6.985, allocations: 43.53 kB / 3.308 GB, free: 225.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007256/6.986, allocations: 379.3 kB / 3.308 GB, free: 225.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/6.986, allocations: 8 kB / 3.308 GB, free: 225.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/6.986, allocations: 3.938 kB / 3.308 GB, free: 225.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/6.986, allocations: 3.984 kB / 3.308 GB, free: 225.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/6.987, allocations: 0.9134 MB / 3.309 GB, free: 224.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/6.987, allocations: 4 kB / 3.309 GB, free: 224.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/6.988, allocations: 47.98 kB / 3.309 GB, free: 224.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004401/6.988, allocations: 108.7 kB / 3.309 GB, free: 224.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/6.988, allocations: 15.98 kB / 3.309 GB, free: 224.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/6.99, allocations: 1.642 MB / 3.311 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/6.99, allocations: 4 kB / 3.311 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008007/6.99, allocations: 0.5515 MB / 3.311 GB, free: 222 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/6.991, allocations: 156.5 kB / 3.312 GB, free: 221.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.952e-05/6.991, allocations: 4 kB / 3.312 GB, free: 221.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/6.991, allocations: 11.98 kB / 3.312 GB, free: 221.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/6.991, allocations: 20.11 kB / 3.312 GB, free: 221.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/6.991, allocations: 19.97 kB / 3.312 GB, free: 221.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002927/6.991, allocations: 286.9 kB / 3.312 GB, free: 221.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/6.991, allocations: 0 / 3.312 GB, free: 221.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007955/6.992, allocations: 171.9 kB / 3.312 GB, free: 221.4 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.00273/6.995, allocations: 2.047 MB / 3.314 GB, free: 219.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007869/6.996, allocations: 417.4 kB / 3.315 GB, free: 219 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/6.996, allocations: 0 / 3.315 GB, free: 219 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000404/6.996, allocations: 253.9 kB / 3.315 GB, free: 218.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/6.997, allocations: 214 kB / 3.315 GB, free: 218.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/6.999, allocations: 0.8596 MB / 3.316 GB, free: 217.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/6.999, allocations: 0.8581 MB / 3.317 GB, free: 216.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003556/7, allocations: 80.33 kB / 3.317 GB, free: 216.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/7, allocations: 159.4 kB / 3.317 GB, free: 216.5 MB / 1.151 GB Notification: Performance of SimCode: time 6.41e-07/7, allocations: 4 kB / 3.317 GB, free: 216.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04028/7.04, allocations: 17.08 MB / 3.334 GB, free: 199.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/7.04, allocations: 156.2 kB / 3.334 GB, free: 199.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.864/9.904, allocations: 7.938 kB / 3.334 GB, free: 199.3 MB / 1.151 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