Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001077, allocations: 100 kB / 15.05 MB, free: 1.105 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.0008923/0.0008923, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5529/0.5529, allocations: 95.59 MB / 366 MB, free: 10.41 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005399/0.0005401, allocations: 16 kB / 446.8 MB, free: 9.434 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2804, allocations: 70.34 MB / 0.505 GB, free: 16.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.4269/0.7074, allocations: 142.6 MB / 0.6443 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004912/0.7123, allocations: 2.786 MB / 0.647 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008006/0.7132, allocations: 14.06 kB / 0.647 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009717/0.7142, allocations: 266.9 kB / 0.6473 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002954/0.7172, allocations: 0.8285 MB / 0.6481 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.7188, allocations: 483.3 kB / 0.6485 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001203/0.72, allocations: 0.5734 MB / 0.6491 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004097/0.7204, allocations: 211.3 kB / 0.6493 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007853/0.7212, allocations: 320.9 kB / 0.6496 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004339/0.7217, allocations: 215.7 kB / 0.6498 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.5e-05/0.7218, allocations: 13.66 kB / 0.6498 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.7236, allocations: 0.5527 MB / 0.6504 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.7238, allocations: 111.3 kB / 0.6505 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.724, allocations: 117.2 kB / 0.6506 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.7251, allocations: 0.6556 MB / 0.6512 GB, free: 1.164 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.7251, allocations: 0 / 0.6512 GB, free: 1.164 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.7251, allocations: 0 / 0.6512 GB, free: 1.164 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.7251, allocations: 0 / 0.6512 GB, free: 1.164 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001345/0.7265, allocations: 0.7682 MB / 0.652 GB, free: 16.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.7265, allocations: 13.39 kB / 0.652 GB, free: 16.6 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.7267, allocations: 50.47 kB / 0.652 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007142/0.7274, allocations: 465.5 kB / 0.6525 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.7275, allocations: 19.34 kB / 0.6525 GB, free: 16.33 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/0.7275, allocations: 30.47 kB / 0.6525 GB, free: 16.33 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000635/0.7282, allocations: 277.7 kB / 0.6528 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.7282, allocations: 0.5312 kB / 0.6528 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/0.7283, allocations: 12.19 kB / 0.6528 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.7283, allocations: 6.281 kB / 0.6528 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006527/0.729, allocations: 260 kB / 0.6531 GB, free: 16.29 MB / 0.4981 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.001899/0.7309, allocations: 1.347 MB / 0.6544 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004588/0.7313, allocations: 252.8 kB / 0.6546 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004848/0.7318, allocations: 458 kB / 0.6551 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003617/0.7322, allocations: 187 kB / 0.6552 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 3.035e-06/0.7322, allocations: 0 / 0.6552 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.005531/0.7378, allocations: 1.709 MB / 0.6569 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.7379, allocations: 56.28 kB / 0.657 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004888/0.7384, allocations: 428.5 kB / 0.6574 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/0.7384, allocations: 36.61 kB / 0.6574 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.7386, allocations: 215.5 kB / 0.6576 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.174e-05/0.7387, allocations: 126.9 kB / 0.6577 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-05/0.7387, allocations: 6.625 kB / 0.6577 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.7388, allocations: 357.1 kB / 0.6581 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.739, allocations: 139.1 kB / 0.6582 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.7393, allocations: 190.8 kB / 0.6584 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.7395, allocations: 165.2 kB / 0.6585 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.7396, allocations: 2.375 kB / 0.6585 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008924/0.7404, allocations: 0.5153 MB / 0.6591 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.7405, allocations: 5.781 kB / 0.6591 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.7405, allocations: 0 / 0.6591 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003649/0.7409, allocations: 81.44 kB / 0.6591 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.7413, allocations: 84.39 kB / 0.6592 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/0.743, allocations: 1.771 MB / 0.6609 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.7433, allocations: 30.45 kB / 0.661 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/0.7434, allocations: 22.33 kB / 0.661 GB, free: 12.3 MB / 0.4981 GB Warning: Assuming fixed start value for the following 3 variables: vol.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = vol.dynBal.T_start unit = "K" fixed = true nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real vol.dynBal.medium.Xi[1]:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) max = min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, 1.0))))) start = 0.01 unit = "1" fixed = true nominal = 0.01 stateSelect=StateSelect.prefer protected = true ) "Structurally independent mass fractions" type: Real [1] vol.dynBal.medium.p:VARIABLE(flow=false min = max(0.0, 0.0) max = 100000000.0 start = vol.dynBal.p_start unit = "Pa" fixed = true nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.nextTimeEvent,timTab.nextTimeEvent,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEventScaled) * 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 (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 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000354/0.7437, allocations: 216.6 kB / 0.6612 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-05/0.7438, allocations: 51.34 kB / 0.6613 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009863/0.7448, allocations: 0.5214 MB / 0.6618 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.7448, allocations: 5.094 kB / 0.6618 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.7448, allocations: 0 / 0.6618 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.7448, allocations: 5.969 kB / 0.6618 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.7465, allocations: 1.172 MB / 0.6629 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.7465, allocations: 3.141 kB / 0.6629 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/0.7469, allocations: 75.17 kB / 0.663 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002745/0.7472, allocations: 81.48 kB / 0.6631 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.7472, allocations: 20.33 kB / 0.6631 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/0.7486, allocations: 1.57 MB / 0.6646 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7486, allocations: 2.906 kB / 0.6646 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.7498, allocations: 0.7629 MB / 0.6654 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.75, allocations: 172.3 kB / 0.6655 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.397e-05/0.7501, allocations: 15.28 kB / 0.6655 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/0.7504, allocations: 16.5 kB / 0.6656 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.7505, allocations: 37.48 kB / 0.6656 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.7506, allocations: 21.16 kB / 0.6656 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003095/0.7509, allocations: 310 kB / 0.6659 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7509, allocations: 1.859 kB / 0.6659 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000785/0.7517, allocations: 227.6 kB / 0.6661 GB, free: 9.961 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (vol.dynBal.medium.p,vol.dynBal.medium.Xi[1],vol.dynBal.medium.T) * Number of discrete variables: 3 ($whenCondition1,timTab.nextTimeEvent,timTab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.nextTimeEvent,timTab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 35 * 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.001177/0.7529, allocations: 0.5843 MB / 0.6667 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009089/0.7538, allocations: 0.4956 MB / 0.6672 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.7538, allocations: 7.188 kB / 0.6672 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.7542, allocations: 305.3 kB / 0.6675 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.7552, allocations: 228.3 kB / 0.6677 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.7573, allocations: 1.339 MB / 0.669 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.7577, allocations: 0.846 MB / 0.6698 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000413/0.7581, allocations: 97.12 kB / 0.6699 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.7582, allocations: 50.75 kB / 0.67 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of SimCode: time 7.72e-07/0.7582, allocations: 0 / 0.67 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.01722/0.7755, allocations: 11.25 MB / 0.681 GB, free: 3.785 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) Environment - environmentSimulation: