Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.Tutorial.Boiler.System1.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 3.061/3.061, allocations: 287.9 MB / 302.9 MB, free: 8.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001433/0.001433, allocations: 178.7 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.4 MB / 0.6301 GB, free: 10.29 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 106 kB / 0.7434 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004723/0.0004725, allocations: 11 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1621, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.7364/0.8985, allocations: 136.8 MB / 1.112 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006434/0.905, allocations: 3.235 MB / 1.115 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008409/0.9059, allocations: 16.09 kB / 1.115 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009815/0.9069, allocations: 277.4 kB / 1.116 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00315/0.9101, allocations: 0.7922 MB / 1.117 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.9125, allocations: 0.5062 MB / 1.117 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001644/0.9142, allocations: 0.6404 MB / 1.118 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006001/0.9148, allocations: 246.8 kB / 1.118 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008455/0.9157, allocations: 310.2 kB / 1.118 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005389/0.9162, allocations: 238 kB / 1.118 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.668e-05/0.9163, allocations: 18.2 kB / 1.118 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.9176, allocations: 320.3 kB / 1.119 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.9178, allocations: 128.5 kB / 1.119 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.9181, allocations: 124.5 kB / 1.119 GB, free: 16.96 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.9193, allocations: 0.6071 MB / 1.12 GB, free: 16.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.629e-06/0.9193, allocations: 0 / 1.12 GB, free: 16.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.331e-06/0.9193, allocations: 0 / 1.12 GB, free: 16.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.701e-05/0.9193, allocations: 1.312 kB / 1.12 GB, free: 16.91 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.001524/0.9209, allocations: 0.7628 MB / 1.12 GB, free: 16.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.9209, allocations: 14.05 kB / 1.12 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.9223, allocations: 154.1 kB / 1.12 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.9234, allocations: 475.2 kB / 1.121 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/0.9234, allocations: 21.72 kB / 1.121 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.661e-05/0.9235, allocations: 30.92 kB / 1.121 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007371/0.9243, allocations: 315.1 kB / 1.121 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.9243, allocations: 1.094 kB / 1.121 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.597e-05/0.9244, allocations: 11.88 kB / 1.121 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/0.9244, allocations: 17.59 kB / 1.121 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005597/0.925, allocations: 217.6 kB / 1.122 GB, free: 15.99 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.002793/0.9278, allocations: 1.414 MB / 1.123 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.9284, allocations: 214.6 kB / 1.123 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.748e-05/0.9284, allocations: 3.812 kB / 1.123 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004394/0.9289, allocations: 168 kB / 1.123 GB, free: 15.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 4.276e-06/0.9289, allocations: 1.438 kB / 1.123 GB, free: 15.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.004169/0.9331, allocations: 1.153 MB / 1.124 GB, free: 14.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.9332, allocations: 58.78 kB / 1.124 GB, free: 14.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007625/0.934, allocations: 453.6 kB / 1.125 GB, free: 14.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.074e-05/0.9341, allocations: 31.55 kB / 1.125 GB, free: 14.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.9343, allocations: 243.2 kB / 1.125 GB, free: 14.37 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.9344, allocations: 109.2 kB / 1.125 GB, free: 14.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.9345, allocations: 4.594 kB / 1.125 GB, free: 14.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.9347, allocations: 356.5 kB / 1.126 GB, free: 13.99 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/0.935, allocations: 134.7 kB / 1.126 GB, free: 13.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.9354, allocations: 194.4 kB / 1.126 GB, free: 13.92 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.9358, allocations: 157.6 kB / 1.126 GB, free: 13.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.501e-06/0.9359, allocations: 0 / 1.126 GB, free: 13.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001391/0.9373, allocations: 0.4885 MB / 1.127 GB, free: 13.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.9373, allocations: 7.812 kB / 1.127 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.9373, allocations: 6.094 kB / 1.127 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000434/0.9378, allocations: 79.08 kB / 1.127 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004136/0.9382, allocations: 76.2 kB / 1.127 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/0.9409, allocations: 1.76 MB / 1.128 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006209/0.9415, allocations: 29.06 kB / 1.128 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/0.9416, allocations: 12.56 kB / 1.128 GB, free: 12.45 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.0004184/0.942, allocations: 202.5 kB / 1.129 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.9421, allocations: 46.86 kB / 1.129 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.9423, allocations: 54.64 kB / 1.129 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.095e-06/0.9423, allocations: 2.562 kB / 1.129 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.9423, allocations: 0 / 1.129 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.371e-06/0.9423, allocations: 4.016 kB / 1.129 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.9447, allocations: 1.009 MB / 1.13 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.219e-06/0.9448, allocations: 0 / 1.13 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005047/0.9453, allocations: 70.7 kB / 1.13 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003834/0.9457, allocations: 72.72 kB / 1.13 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/0.9457, allocations: 16.45 kB / 1.13 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.9478, allocations: 1.577 MB / 1.131 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.177e-06/0.9478, allocations: 1.984 kB / 1.131 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.9493, allocations: 0.6024 MB / 1.132 GB, free: 10.47 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003596/0.9497, allocations: 156.4 kB / 1.132 GB, free: 10.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.972e-05/0.9498, allocations: 10.75 kB / 1.132 GB, free: 10.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004759/0.9503, allocations: 18.23 kB / 1.132 GB, free: 10.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/0.9504, allocations: 19.81 kB / 1.132 GB, free: 10.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/0.9505, allocations: 12.66 kB / 1.132 GB, free: 10.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004888/0.951, allocations: 303.2 kB / 1.133 GB, free: 10.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.12e-07/0.951, allocations: 4 kB / 1.133 GB, free: 10.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008051/0.9518, allocations: 120.5 kB / 1.133 GB, free: 10.27 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.001617/0.9535, allocations: 434.3 kB / 1.133 GB, free: 10.08 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.9546, allocations: 439.8 kB / 1.133 GB, free: 9.949 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.9546, allocations: 1.75 kB / 1.133 GB, free: 9.949 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000477/0.9551, allocations: 256.2 kB / 1.134 GB, free: 9.828 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.9565, allocations: 226.6 kB / 1.134 GB, free: 9.801 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.9591, allocations: 1.26 MB / 1.135 GB, free: 9.141 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000605/0.9597, allocations: 0.8605 MB / 1.136 GB, free: 8.438 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005991/0.9603, allocations: 88.31 kB / 1.136 GB, free: 8.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.9605, allocations: 36.2 kB / 1.136 GB, free: 8.402 MB / 0.698 GB Notification: Performance of SimCode: time 1.644e-06/0.9605, allocations: 7.406 kB / 1.136 GB, free: 8.398 MB / 0.698 GB Notification: Performance of Templates: time 0.0228/0.9833, allocations: 8.371 MB / 1.144 GB, free: 4.328 MB / 0.698 GB