Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.696/2.696, allocations: 287.5 MB / 302.4 MB, free: 8.246 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.001337/0.001337, allocations: 177.7 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.307/2.307, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.0008539/0.0008537, allocations: 89.03 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007833/0.0007834, allocations: 11.78 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2584, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.8745/1.133, allocations: 147.9 MB / 1.123 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.007319/1.14, allocations: 3.114 MB / 1.126 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/1.141, allocations: 18.5 kB / 1.126 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009838/1.142, allocations: 194.9 kB / 1.126 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002896/1.145, allocations: 0.6332 MB / 1.127 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001636/1.147, allocations: 318.8 kB / 1.127 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002342/1.149, allocations: 1.178 MB / 1.128 GB, free: 440 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005534/1.15, allocations: 245.3 kB / 1.128 GB, free: 400 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008866/1.151, allocations: 337 kB / 1.129 GB, free: 320 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007829/1.152, allocations: 325.7 kB / 1.129 GB, free: 252 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.814e-05/1.152, allocations: 15.72 kB / 1.129 GB, free: 252 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/1.153, allocations: 358.8 kB / 1.129 GB, free: 208 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002405/1.154, allocations: 138.7 kB / 1.13 GB, free: 188 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000249/1.154, allocations: 121.2 kB / 1.13 GB, free: 16.14 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/1.155, allocations: 0.6459 MB / 1.13 GB, free: 16.08 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/1.155, allocations: 3.25 kB / 1.13 GB, free: 16.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.308e-06/1.155, allocations: 0 / 1.13 GB, free: 16.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.576e-06/1.155, allocations: 3.938 kB / 1.13 GB, free: 16.07 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.001914/1.157, allocations: 0.7688 MB / 1.131 GB, free: 15.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/1.157, allocations: 15.94 kB / 1.131 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/1.157, allocations: 68.56 kB / 1.131 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002282/1.16, allocations: 143 kB / 1.131 GB, free: 15.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/1.161, allocations: 480.2 kB / 1.132 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/1.161, allocations: 24.09 kB / 1.132 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.499e-05/1.161, allocations: 26.28 kB / 1.132 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008528/1.162, allocations: 315.6 kB / 1.132 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/1.162, allocations: 0.6875 kB / 1.132 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.934e-05/1.162, allocations: 13.44 kB / 1.132 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-05/1.162, allocations: 9.781 kB / 1.132 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000619/1.163, allocations: 224.2 kB / 1.132 GB, free: 15.12 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.002991/1.166, allocations: 1.421 MB / 1.134 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00055/1.167, allocations: 219.8 kB / 1.134 GB, free: 14.26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/1.167, allocations: 110.5 kB / 1.134 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.395e-05/1.167, allocations: 1.5 kB / 1.134 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00044/1.167, allocations: 160.3 kB / 1.134 GB, free: 14.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 2.886e-06/1.167, allocations: 0 / 1.134 GB, free: 14.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.004845/1.172, allocations: 1.158 MB / 1.135 GB, free: 13.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/1.172, allocations: 54.47 kB / 1.135 GB, free: 13.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007824/1.173, allocations: 452.4 kB / 1.136 GB, free: 13.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.085e-05/1.173, allocations: 35.98 kB / 1.136 GB, free: 13.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/1.174, allocations: 239.7 kB / 1.136 GB, free: 13.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/1.174, allocations: 104.1 kB / 1.136 GB, free: 13.42 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/1.174, allocations: 6.938 kB / 1.136 GB, free: 13.42 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001839/1.174, allocations: 358.8 kB / 1.137 GB, free: 13.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/1.174, allocations: 132.7 kB / 1.137 GB, free: 13.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/1.175, allocations: 201.2 kB / 1.137 GB, free: 13.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/1.175, allocations: 155 kB / 1.137 GB, free: 13.03 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.175, allocations: 2.625 kB / 1.137 GB, free: 13.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001656/1.177, allocations: 0.4893 MB / 1.137 GB, free: 12.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/1.177, allocations: 6.875 kB / 1.137 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.177, allocations: 0 / 1.137 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005575/1.178, allocations: 86.02 kB / 1.138 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005543/1.178, allocations: 62.97 kB / 1.138 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002749/1.181, allocations: 1.755 MB / 1.139 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007632/1.182, allocations: 28.14 kB / 1.139 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-05/1.182, allocations: 11.22 kB / 1.139 GB, free: 11.57 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.000414/1.182, allocations: 195.9 kB / 1.14 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/1.182, allocations: 52.03 kB / 1.14 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/1.183, allocations: 57.62 kB / 1.14 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/1.183, allocations: 3.125 kB / 1.14 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/1.183, allocations: 0 / 1.14 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.936e-06/1.183, allocations: 3 kB / 1.14 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/1.185, allocations: 1.007 MB / 1.141 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.185, allocations: 0 / 1.141 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007652/1.186, allocations: 70.61 kB / 1.141 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005343/1.187, allocations: 74.06 kB / 1.141 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.085e-05/1.187, allocations: 16.41 kB / 1.141 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/1.189, allocations: 1.557 MB / 1.142 GB, free: 9.797 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.189, allocations: 7.484 kB / 1.142 GB, free: 9.793 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/1.191, allocations: 0.592 MB / 1.143 GB, free: 9.605 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004992/1.192, allocations: 152.9 kB / 1.143 GB, free: 9.488 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/1.192, allocations: 13.81 kB / 1.143 GB, free: 9.484 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006412/1.193, allocations: 15.67 kB / 1.143 GB, free: 9.484 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/1.193, allocations: 20.44 kB / 1.143 GB, free: 9.484 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.449e-05/1.193, allocations: 11.86 kB / 1.143 GB, free: 9.484 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006345/1.193, allocations: 302.9 kB / 1.143 GB, free: 9.402 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.61e-07/1.193, allocations: 0 / 1.143 GB, free: 9.402 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001026/1.194, allocations: 124.1 kB / 1.144 GB, free: 9.402 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.003682/1.198, allocations: 1.463 MB / 1.145 GB, free: 8.578 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001301/1.2, allocations: 443.7 kB / 1.145 GB, free: 8.445 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.95e-05/1.2, allocations: 1.344 kB / 1.145 GB, free: 8.445 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005268/1.2, allocations: 257.9 kB / 1.146 GB, free: 8.328 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/1.202, allocations: 225.3 kB / 1.146 GB, free: 8.305 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008449/1.211, allocations: 3.022 MB / 1.149 GB, free: 7.059 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006145/1.211, allocations: 0.8491 MB / 1.15 GB, free: 6.297 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007552/1.212, allocations: 85.92 kB / 1.15 GB, free: 6.258 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003706/1.213, allocations: 157.8 kB / 1.15 GB, free: 6.234 MB / 0.698 GB Notification: Performance of SimCode: time 7.674e-06/1.213, allocations: 0 / 1.15 GB, free: 6.234 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06131/1.274, allocations: 12.83 MB / 1.162 GB, free: 60 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003539/1.274, allocations: 239.6 kB / 1.163 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.012/4.286, allocations: 0 / 1.163 GB, free: 15.82 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)