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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 195.5 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.241/2.241, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5628/0.564, allocations: 140.3 MB / 0.949 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1687/0.7327, allocations: 160.7 MB / 1.106 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004812/0.7376, allocations: 3.519 MB / 1.109 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003324/0.7379, allocations: 15.88 kB / 1.109 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007445/0.7387, allocations: 246.9 kB / 1.11 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.7404, allocations: 0.7975 MB / 1.11 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008901/0.7413, allocations: 418.6 kB / 1.111 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001267/0.7425, allocations: 1.375 MB / 1.112 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003254/0.7429, allocations: 288 kB / 1.112 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004726/0.7434, allocations: 354.4 kB / 1.113 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007299/0.7441, allocations: 353.3 kB / 1.113 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.447e-05/0.7442, allocations: 20 kB / 1.113 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.7453, allocations: 0.7949 MB / 1.114 GB, free: 8.656 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.7455, allocations: 147.5 kB / 1.114 GB, free: 8.512 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.7457, allocations: 246.6 kB / 1.114 GB, free: 8.27 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.7468, allocations: 0.9542 MB / 1.115 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7468, allocations: 0 / 1.115 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7468, allocations: 0 / 1.115 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.7468, allocations: 0 / 1.115 GB, free: 7.312 MB / 0.8731 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.001302/0.7481, allocations: 0.8641 MB / 1.116 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 8.83e-05/0.7482, allocations: 12.03 kB / 1.116 GB, free: 6.387 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.336e-05/0.7483, allocations: 62.48 kB / 1.116 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.7493, allocations: 159.2 kB / 1.116 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006434/0.75, allocations: 492.8 kB / 1.117 GB, free: 5.641 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.75, allocations: 24.56 kB / 1.117 GB, free: 5.617 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.102e-05/0.75, allocations: 28 kB / 1.117 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/0.7506, allocations: 323.6 kB / 1.117 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.7506, allocations: 3.906 kB / 1.117 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.7507, allocations: 16 kB / 1.117 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.7507, allocations: 12.56 kB / 1.117 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004031/0.7511, allocations: 222 kB / 1.117 GB, free: 5.012 MB / 0.8731 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.001826/0.7529, allocations: 1.418 MB / 1.119 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/0.7533, allocations: 224.6 kB / 1.119 GB, free: 3.23 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.7535, allocations: 108.8 kB / 1.119 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.7536, allocations: 8 kB / 1.119 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000278/0.7538, allocations: 161.2 kB / 1.119 GB, free: 2.945 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 1.843e-06/0.7538, allocations: 0 / 1.119 GB, free: 2.945 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29): time 0.002762/0.7566, allocations: 1.086 MB / 1.12 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.7567, allocations: 63.34 kB / 1.12 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005023/0.7572, allocations: 457.8 kB / 1.121 GB, free: 1.27 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.7572, allocations: 41.69 kB / 1.121 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.7574, allocations: 232.3 kB / 1.121 GB, free: 0.9922 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.462e-05/0.7575, allocations: 98.56 kB / 1.121 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.7576, allocations: 81.91 kB / 1.121 GB, free: 0.8086 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.7577, allocations: 358.8 kB / 1.122 GB, free: 460 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.758, allocations: 124.7 kB / 1.122 GB, free: 336 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.7582, allocations: 186.7 kB / 1.122 GB, free: 128 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.7587, allocations: 300 kB / 1.122 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7587, allocations: 4 kB / 1.122 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000928/0.7596, allocations: 485.9 kB / 1.123 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.7597, allocations: 12.16 kB / 1.123 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.7597, allocations: 0 / 1.123 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003432/0.76, allocations: 80.8 kB / 1.123 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.7603, allocations: 63.91 kB / 1.123 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.7619, allocations: 1.743 MB / 1.124 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.7622, allocations: 31.89 kB / 1.124 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.7623, allocations: 12 kB / 1.124 GB, free: 13.25 MB / 0.8887 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 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002198/0.7625, allocations: 199.5 kB / 1.125 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.7626, allocations: 43.47 kB / 1.125 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.7627, allocations: 56.61 kB / 1.125 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.7627, allocations: 0 / 1.125 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.7627, allocations: 8 kB / 1.125 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.7627, allocations: 0 / 1.125 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.7642, allocations: 0.9611 MB / 1.126 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.7642, allocations: 3.984 kB / 1.126 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/0.7646, allocations: 63.91 kB / 1.126 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002989/0.7649, allocations: 76.8 kB / 1.126 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.7649, allocations: 11.98 kB / 1.126 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.7662, allocations: 1.538 MB / 1.127 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/0.7662, allocations: 3.984 kB / 1.127 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009949/0.7672, allocations: 0.5749 MB / 1.128 GB, free: 9.5 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.7674, allocations: 148.6 kB / 1.128 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-05/0.7674, allocations: 11.94 kB / 1.128 GB, free: 9.324 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.7678, allocations: 27.83 kB / 1.128 GB, free: 9.297 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.7679, allocations: 19.97 kB / 1.128 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.7679, allocations: 15.98 kB / 1.128 GB, free: 9.262 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003097/0.7682, allocations: 303.1 kB / 1.128 GB, free: 8.969 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7682, allocations: 0 / 1.128 GB, free: 8.969 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000501/0.7687, allocations: 132 kB / 1.129 GB, free: 8.84 MB / 0.8887 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 (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0021/0.7708, allocations: 1.431 MB / 1.13 GB, free: 7.543 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0006511/0.7715, allocations: 422.5 kB / 1.13 GB, free: 7.117 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7715, allocations: 0 / 1.13 GB, free: 7.117 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.7718, allocations: 247 kB / 1.131 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.7729, allocations: 236.1 kB / 1.131 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005693/0.7786, allocations: 4.326 MB / 1.135 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.779, allocations: 0.8465 MB / 1.136 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003362/0.7793, allocations: 84.33 kB / 1.136 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.7796, allocations: 155.4 kB / 1.136 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of SimCode: time 4.11e-07/0.7796, allocations: 3.938 kB / 1.136 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.463/2.242, allocations: 12.28 MB / 1.148 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002847/2.242, allocations: 260 kB / 1.148 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.105/4.348, allocations: 0 / 1.148 GB, free: 4.762 MB / 0.9044 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/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)