Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.61/1.61, allocations: 288.4 MB / 303.6 MB, free: 8.023 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.001121, allocations: 184.4 kB / 372.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.4 MB / 0.631 GB, free: 9.836 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007152/0.0007152, allocations: 93.81 kB / 0.7444 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003669, allocations: 15.09 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1664, allocations: 115.3 MB / 0.9802 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.4658/0.6322, allocations: 147.9 MB / 1.125 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004636/0.6369, allocations: 3.106 MB / 1.128 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007764/0.6377, allocations: 15.47 kB / 1.128 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009779/0.6387, allocations: 233.3 kB / 1.128 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.641, allocations: 0.7225 MB / 1.129 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.6422, allocations: 335 kB / 1.129 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001538/0.6438, allocations: 1.182 MB / 1.13 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004222/0.6442, allocations: 266.4 kB / 1.13 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000559/0.6448, allocations: 338.4 kB / 1.131 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006257/0.6454, allocations: 321.9 kB / 1.131 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.98e-05/0.6455, allocations: 15.53 kB / 1.131 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.6468, allocations: 0.7786 MB / 1.132 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.6469, allocations: 133.3 kB / 1.132 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.6472, allocations: 252.4 kB / 1.132 GB, free: 16.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007135/0.6479, allocations: 0.6931 MB / 1.133 GB, free: 16.45 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.6479, allocations: 0 / 1.133 GB, free: 16.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6479, allocations: 0 / 1.133 GB, free: 16.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.6479, allocations: 0 / 1.133 GB, free: 16.45 MB / 0.698 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.001124/0.649, allocations: 0.774 MB / 1.134 GB, free: 15.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.6491, allocations: 7.938 kB / 1.134 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.051e-05/0.6492, allocations: 64.69 kB / 1.134 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008721/0.65, allocations: 152.6 kB / 1.134 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005849/0.6506, allocations: 482.4 kB / 1.134 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.6507, allocations: 31.23 kB / 1.134 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.6507, allocations: 29.06 kB / 1.134 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/0.6512, allocations: 318.5 kB / 1.135 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.6512, allocations: 1.562 kB / 1.135 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.6513, allocations: 12.47 kB / 1.135 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.6513, allocations: 11.34 kB / 1.135 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.6516, allocations: 220.1 kB / 1.135 GB, free: 15.47 MB / 0.698 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.001667/0.6533, allocations: 1.42 MB / 1.136 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.6537, allocations: 218 kB / 1.136 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.6538, allocations: 111.9 kB / 1.137 GB, free: 14.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.6539, allocations: 7.25 kB / 1.137 GB, free: 14.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002643/0.6541, allocations: 161 kB / 1.137 GB, free: 14.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 2.415e-06/0.6542, allocations: 0 / 1.137 GB, free: 14.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.002621/0.6568, allocations: 1.158 MB / 1.138 GB, free: 14.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.6568, allocations: 58.31 kB / 1.138 GB, free: 14.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004577/0.6573, allocations: 454.3 kB / 1.138 GB, free: 13.97 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.6573, allocations: 36.33 kB / 1.138 GB, free: 13.94 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.6575, allocations: 232.1 kB / 1.139 GB, free: 13.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.607e-05/0.6576, allocations: 109 kB / 1.139 GB, free: 13.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/0.6576, allocations: 6.562 kB / 1.139 GB, free: 13.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6578, allocations: 359.3 kB / 1.139 GB, free: 13.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.658, allocations: 131.1 kB / 1.139 GB, free: 13.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.6582, allocations: 191.7 kB / 1.139 GB, free: 13.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.6587, allocations: 320.9 kB / 1.14 GB, free: 13.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6587, allocations: 2.906 kB / 1.14 GB, free: 13.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000861/0.6595, allocations: 0.4886 MB / 1.14 GB, free: 13.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.6596, allocations: 6.281 kB / 1.14 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6596, allocations: 1.75 kB / 1.14 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003556/0.6599, allocations: 83.2 kB / 1.14 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.6602, allocations: 68.03 kB / 1.14 GB, free: 13.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.6621, allocations: 1.755 MB / 1.142 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.6625, allocations: 28.39 kB / 1.142 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.6625, allocations: 12.16 kB / 1.142 GB, free: 11.7 MB / 0.698 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 (42): * Single equations (assignments): 41 * 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.0002747/0.6628, allocations: 197.2 kB / 1.142 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.081e-05/0.6629, allocations: 54.28 kB / 1.142 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.315e-05/0.663, allocations: 53.02 kB / 1.142 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.663, allocations: 2.688 kB / 1.142 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.663, allocations: 1.312 kB / 1.142 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.663, allocations: 3.984 kB / 1.142 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.6645, allocations: 1.016 MB / 1.143 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6646, allocations: 0 / 1.143 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.6649, allocations: 66.8 kB / 1.143 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002912/0.6652, allocations: 70.3 kB / 1.143 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.6653, allocations: 18.42 kB / 1.143 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/0.6667, allocations: 1.553 MB / 1.145 GB, free: 9.641 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6667, allocations: 0 / 1.145 GB, free: 9.641 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.6677, allocations: 0.5922 MB / 1.146 GB, free: 9.398 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.6679, allocations: 156 kB / 1.146 GB, free: 9.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/0.6679, allocations: 9.469 kB / 1.146 GB, free: 9.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/0.6683, allocations: 23.33 kB / 1.146 GB, free: 9.258 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.6684, allocations: 25 kB / 1.146 GB, free: 9.246 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.6684, allocations: 15.11 kB / 1.146 GB, free: 9.242 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003284/0.6688, allocations: 302.4 kB / 1.146 GB, free: 9.125 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6688, allocations: 1.438 kB / 1.146 GB, free: 9.125 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005337/0.6693, allocations: 127.7 kB / 1.146 GB, free: 9.121 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.002096/0.6714, allocations: 1.457 MB / 1.148 GB, free: 8.242 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007496/0.6722, allocations: 438 kB / 1.148 GB, free: 8.078 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6722, allocations: 4.062 kB / 1.148 GB, free: 8.074 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003065/0.6725, allocations: 254.5 kB / 1.148 GB, free: 7.934 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.6736, allocations: 232.7 kB / 1.148 GB, free: 7.852 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004653/0.6783, allocations: 3.022 MB / 1.151 GB, free: 6.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.6787, allocations: 0.8486 MB / 1.152 GB, free: 5.645 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003773/0.6791, allocations: 80.56 kB / 1.152 GB, free: 5.609 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.6793, allocations: 162.2 kB / 1.152 GB, free: 5.582 MB / 0.698 GB Notification: Performance of SimCode: time 6.62e-07/0.6793, allocations: 0 / 1.152 GB, free: 5.582 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6208/1.3, allocations: 12.96 MB / 1.165 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002795/1.3, allocations: 245.7 kB / 1.165 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.869/4.17, allocations: 4 kB / 1.165 GB, free: 15.04 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)