Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.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.System2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System2",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.75/1.75, allocations: 288.2 MB / 303.2 MB, free: 8.098 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.001202/0.001201, allocations: 189.1 kB / 371.8 MB, free: 10.28 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.685/1.685, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.001018/0.001018, allocations: 85.22 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003878, allocations: 11.53 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2482, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.8472/1.095, allocations: 175.5 MB / 1.151 GB, free: 8.953 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03409/1.13, allocations: 17.68 MB / 1.168 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00404/1.134, allocations: 65.28 kB / 1.168 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00496/1.139, allocations: 1.136 MB / 1.169 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0126/1.151, allocations: 3.015 MB / 1.172 GB, free: 9 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01361/1.165, allocations: 3.257 MB / 1.175 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01447/1.179, allocations: 5.78 MB / 1.181 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007209/1.187, allocations: 2.862 MB / 1.184 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008064/1.195, allocations: 2.441 MB / 1.186 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005963/1.201, allocations: 1.938 MB / 1.188 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.00201/1.203, allocations: 147.6 kB / 1.188 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008021/1.211, allocations: 1.564 MB / 1.19 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.002382/1.213, allocations: 0.8439 MB / 1.191 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.002799/1.216, allocations: 0.7718 MB / 1.191 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.01058/1.227, allocations: 5.156 MB / 1.196 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.227, allocations: 0 / 1.196 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.807e-06/1.227, allocations: 0 / 1.196 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003145/1.227, allocations: 2.375 kB / 1.196 GB, free: 9.637 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.01262/1.24, allocations: 3.836 MB / 1.2 GB, free: 6.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/1.24, allocations: 8.031 kB / 1.2 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002026/1.242, allocations: 336.9 kB / 1.201 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0074/1.249, allocations: 0.9651 MB / 1.201 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01115/1.261, allocations: 3.496 MB / 1.205 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002371/1.261, allocations: 185.1 kB / 1.205 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000908/1.262, allocations: 251.9 kB / 1.205 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008016/1.27, allocations: 3.166 MB / 1.208 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001032/1.27, allocations: 11.94 kB / 1.208 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006509/1.271, allocations: 100.8 kB / 1.208 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001583/1.271, allocations: 104.4 kB / 1.209 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006836/1.278, allocations: 2.628 MB / 1.211 GB, free: 10.99 MB / 0.7448 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.03/1.308, allocations: 13.5 MB / 1.224 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003586/1.311, allocations: 2.178 MB / 1.226 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01262/1.324, allocations: 4.714 MB / 1.231 GB, free: 5.625 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001719/1.326, allocations: 0.9226 MB / 1.232 GB, free: 4.688 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001741/1.327, allocations: 190.2 kB / 1.232 GB, free: 4.5 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=130): time 7.284e-06/1.327, allocations: 0 / 1.232 GB, free: 4.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=134): time 0.01365/1.341, allocations: 5.522 MB / 1.238 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/1.341, allocations: 145.8 kB / 1.238 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005565/1.347, allocations: 3.178 MB / 1.241 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0004967/1.347, allocations: 65.69 kB / 1.241 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001706/1.349, allocations: 1.517 MB / 1.242 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007101/1.35, allocations: 485.2 kB / 1.243 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/1.35, allocations: 40 kB / 1.243 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002127/1.35, allocations: 385.9 kB / 1.243 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002309/1.352, allocations: 0.9838 MB / 1.244 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002617/1.355, allocations: 1.576 MB / 1.246 GB, free: 6.117 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002391/1.358, allocations: 1.212 MB / 1.247 GB, free: 4.906 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/1.358, allocations: 11.94 kB / 1.247 GB, free: 4.895 MB / 0.7761 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.009217/1.367, allocations: 3.38 MB / 1.25 GB, free: 1.496 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.002991/1.37, allocations: 6.596 MB / 1.257 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.818e-05/1.37, allocations: 19.98 kB / 1.257 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006982/1.377, allocations: 1.18 MB / 1.258 GB, free: 9.258 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002519/1.379, allocations: 0.4953 MB / 1.258 GB, free: 8.762 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005897/1.385, allocations: 3.169 MB / 1.261 GB, free: 5.434 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004466/1.39, allocations: 268.1 kB / 1.262 GB, free: 5.172 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004344/1.39, allocations: 107.9 kB / 1.262 GB, free: 5.066 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/1.39, allocations: 4 kB / 1.262 GB, free: 5.062 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00823/1.399, allocations: 3.027 MB / 1.265 GB, free: 2.027 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.178e-05/1.399, allocations: 27.92 kB / 1.265 GB, free: 2 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006983/1.406, allocations: 1.208 MB / 1.266 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/1.408, allocations: 487.2 kB / 1.266 GB, free: 316 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006193/1.414, allocations: 3.171 MB / 1.269 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004125/1.418, allocations: 246.1 kB / 1.27 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006304/1.419, allocations: 104 kB / 1.27 GB, free: 12.64 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (241): * Single equations (assignments): 236 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {4 7} Notification: Performance of prepare postOptimizeDAE: time 0.00309/1.422, allocations: 1.086 MB / 1.271 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001552/1.424, allocations: 300.3 kB / 1.271 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006111/1.43, allocations: 2.335 MB / 1.273 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.408e-05/1.43, allocations: 12 kB / 1.273 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/1.43, allocations: 4 kB / 1.273 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003524/1.433, allocations: 2.006 MB / 1.275 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/1.447, allocations: 5.219 MB / 1.281 GB, free: 1.441 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/1.447, allocations: 4 kB / 1.281 GB, free: 1.438 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/1.448, allocations: 283.6 kB / 1.281 GB, free: 1.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001167/1.449, allocations: 352.7 kB / 1.281 GB, free: 0.7969 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001673/1.449, allocations: 43.97 kB / 1.281 GB, free: 0.7539 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008249/1.458, allocations: 9.153 MB / 1.29 GB, free: 6.809 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/1.458, allocations: 4.031 kB / 1.29 GB, free: 6.805 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007591/1.465, allocations: 3.328 MB / 1.293 GB, free: 3.387 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002529/1.468, allocations: 0.661 MB / 1.294 GB, free: 2.703 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001094/1.469, allocations: 43.98 kB / 1.294 GB, free: 2.66 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002864/1.472, allocations: 176 kB / 1.294 GB, free: 2.488 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003135/1.472, allocations: 113 kB / 1.294 GB, free: 2.379 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002503/1.473, allocations: 71.94 kB / 1.294 GB, free: 2.309 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.004826/1.477, allocations: 2.166 MB / 1.297 GB, free: 152 kB / 0.823 GB Notification: Performance of sort global known variables: time 4.11e-07/1.477, allocations: 0 / 1.297 GB, free: 152 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.009736/1.487, allocations: 1.656 MB / 1.298 GB, free: 14.49 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.x[1],pumRad.filter.x[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01077/1.498, allocations: 4.977 MB / 1.303 GB, free: 9.551 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01256/1.511, allocations: 4.324 MB / 1.307 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/1.511, allocations: 0.5625 kB / 1.307 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00286/1.514, allocations: 1.625 MB / 1.309 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008857/1.522, allocations: 1.67 MB / 1.31 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02307/1.545, allocations: 20.02 MB / 1.33 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002567/1.548, allocations: 2.439 MB / 1.332 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.005851/1.554, allocations: 1.11 MB / 1.333 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003143/1.557, allocations: 1.335 MB / 1.335 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of SimCode: time 6.091e-06/1.557, allocations: 0 / 1.335 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1909/1.748, allocations: 100.8 MB / 1.433 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/1.748, allocations: 254.3 kB / 1.433 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.795/7.543, allocations: 4 kB / 1.433 GB, free: 3.777 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System2_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System2.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)