Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.Performance.Example1v2.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002394/0.002393, allocations: 357.2 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.402/1.402, allocations: 165.8 MB / 182.5 MB, free: 5.488 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.595/3.595, allocations: 410.8 MB / 0.5995 GB, free: 15.09 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001732/0.001732, allocations: 195.5 kB / 0.6662 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004587/0.0004589, allocations: 16 kB / 0.7423 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3728, allocations: 67.44 MB / 0.8081 GB, free: 28.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example1v2): time 0.08741/0.4602, allocations: 74.4 MB / 0.8808 GB, free: 2.074 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.03773/0.498, allocations: 20.74 MB / 0.9011 GB, free: 13.3 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003552/0.5016, allocations: 95.31 kB / 0.9011 GB, free: 13.2 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004283/0.5059, allocations: 1.13 MB / 0.9022 GB, free: 12.07 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01157/0.5175, allocations: 3.307 MB / 0.9055 GB, free: 8.746 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01363/0.5312, allocations: 3.944 MB / 0.9093 GB, free: 4.855 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.3751/0.9063, allocations: 30.02 MB / 0.9386 GB, free: 17.49 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01961/0.926, allocations: 12.94 MB / 0.9513 GB, free: 15.99 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01549/0.9415, allocations: 8.912 MB / 0.96 GB, free: 15.98 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01956/0.9611, allocations: 10.73 MB / 0.9705 GB, free: 15.96 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003812/0.965, allocations: 0.8146 MB / 0.9713 GB, free: 15.96 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008687/0.9737, allocations: 1.792 MB / 0.973 GB, free: 15.96 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005191/0.9789, allocations: 2.956 MB / 0.9759 GB, free: 15.42 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004739/0.9837, allocations: 1.833 MB / 0.9777 GB, free: 15.25 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01643/1, allocations: 13.91 MB / 0.9913 GB, free: 5.57 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.553e-06/1, allocations: 2.906 kB / 0.9913 GB, free: 5.57 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.071e-06/1, allocations: 2.625 kB / 0.9913 GB, free: 5.57 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003152/1.001, allocations: 0 / 0.9913 GB, free: 5.57 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.03665/1.037, allocations: 13.08 MB / 1.004 GB, free: 9.164 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/1.037, allocations: 8.031 kB / 1.004 GB, free: 9.156 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008127/1.045, allocations: 1.275 MB / 1.005 GB, free: 7.875 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02745/1.073, allocations: 9.606 MB / 1.015 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005358/1.074, allocations: 447.9 kB / 1.015 GB, free: 460 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00304/1.077, allocations: 0.5782 MB / 1.016 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03509/1.112, allocations: 14.69 MB / 1.03 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002012/1.112, allocations: 19.83 kB / 1.03 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001748/1.114, allocations: 246.6 kB / 1.03 GB, free: 5.348 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/1.114, allocations: 136 kB / 1.03 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0424/1.156, allocations: 19.88 MB / 1.05 GB, free: 6.707 MB / 0.5105 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.1476/1.304, allocations: 66.64 MB / 1.115 GB, free: 3.105 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01916/1.323, allocations: 9.314 MB / 1.124 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01703/1.34, allocations: 8.681 MB / 1.132 GB, free: 1.121 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0745/1.415, allocations: 30.97 MB / 1.163 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.6831/2.098, allocations: 7.747 MB / 1.17 GB, free: 248.3 MB / 0.6199 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03507/2.133, allocations: 11.76 MB / 1.182 GB, free: 246 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=300): time 2.288e-05/2.133, allocations: 0.8438 kB / 1.182 GB, free: 246 MB / 0.6199 GB Notification: Performance of matching and sorting (n=300): time 0.07087/2.204, allocations: 24.44 MB / 1.206 GB, free: 227.9 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/2.204, allocations: 85.72 kB / 1.206 GB, free: 227.8 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01278/2.217, allocations: 8.098 MB / 1.214 GB, free: 219.8 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.001897/2.219, allocations: 101.6 kB / 1.214 GB, free: 219.7 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.003727/2.223, allocations: 4.013 MB / 1.218 GB, free: 216.1 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.002627/2.225, allocations: 1.083 MB / 1.219 GB, free: 215 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00092/2.226, allocations: 88 kB / 1.219 GB, free: 214.9 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0002467/2.226, allocations: 491.8 kB / 1.219 GB, free: 214.4 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01115/2.238, allocations: 6.543 MB / 1.226 GB, free: 207.8 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0126/2.25, allocations: 8.407 MB / 1.234 GB, free: 198.6 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0133/2.264, allocations: 7.433 MB / 1.241 GB, free: 191.1 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.337e-05/2.264, allocations: 16 kB / 1.241 GB, free: 191.1 MB / 0.6199 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.04389/2.308, allocations: 17.8 MB / 1.259 GB, free: 173.3 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006783/2.308, allocations: 1.557 MB / 1.26 GB, free: 171 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.212e-05/2.308, allocations: 48 kB / 1.26 GB, free: 171 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07555/2.384, allocations: 11.5 MB / 1.271 GB, free: 159.5 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009983/2.394, allocations: 1.565 MB / 1.273 GB, free: 158 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/2.404, allocations: 6.805 MB / 1.279 GB, free: 150.9 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01263/2.417, allocations: 0.5815 MB / 1.28 GB, free: 150.4 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002684/2.42, allocations: 0.546 MB / 1.281 GB, free: 149.8 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/2.42, allocations: 7.938 kB / 1.281 GB, free: 149.8 MB / 0.6199 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03705/2.457, allocations: 16.74 MB / 1.297 GB, free: 133 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-05/2.457, allocations: 48 kB / 1.297 GB, free: 133 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07266/2.53, allocations: 11.03 MB / 1.308 GB, free: 122 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009723/2.539, allocations: 1.55 MB / 1.309 GB, free: 120.4 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01617/2.556, allocations: 11.03 MB / 1.32 GB, free: 109 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01191/2.567, allocations: 0.566 MB / 1.321 GB, free: 108.4 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002489/2.57, allocations: 0.5304 MB / 1.321 GB, free: 107.9 MB / 0.6199 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 521 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.006938/2.577, allocations: 2.634 MB / 1.324 GB, free: 105.2 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002687/2.58, allocations: 0.7564 MB / 1.324 GB, free: 104.4 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03106/2.611, allocations: 14.34 MB / 1.338 GB, free: 90.04 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.624e-05/2.611, allocations: 39.78 kB / 1.338 GB, free: 90.01 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1e-05/2.611, allocations: 4 kB / 1.338 GB, free: 90 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01991/2.631, allocations: 10.92 MB / 1.349 GB, free: 78.98 MB / 0.6199 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 postOpt removeSimpleEquations (simulation): time 0.04895/2.68, allocations: 24.89 MB / 1.373 GB, free: 54.06 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/2.68, allocations: 0 / 1.373 GB, free: 54.06 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006509/2.686, allocations: 0.7067 MB / 1.374 GB, free: 53.36 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07176/2.758, allocations: 10.33 MB / 1.384 GB, free: 43.05 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001172/2.759, allocations: 103.9 kB / 1.384 GB, free: 42.95 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006217/2.766, allocations: 4.93 MB / 1.389 GB, free: 37.81 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.77e-06/2.766, allocations: 160 / 1.389 GB, free: 37.81 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03409/2.8, allocations: 19.54 MB / 1.408 GB, free: 18.18 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006364/2.806, allocations: 2.013 MB / 1.41 GB, free: 16.14 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00237/2.808, allocations: 71.98 kB / 1.41 GB, free: 16.07 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008412/2.817, allocations: 446.8 kB / 1.411 GB, free: 15.63 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001318/2.818, allocations: 221.4 kB / 1.411 GB, free: 15.41 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007754/2.819, allocations: 155.9 kB / 1.411 GB, free: 15.26 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.01104/2.83, allocations: 5.57 MB / 1.416 GB, free: 9.715 MB / 0.6199 GB Notification: Performance of sort global known variables: time 1.553e-06/2.83, allocations: 3.938 kB / 1.416 GB, free: 9.711 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.02629/2.856, allocations: 4.977 MB / 1.421 GB, free: 4.754 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.002315/2.859, allocations: 0.5673 MB / 1.422 GB, free: 4.25 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.3805/3.239, allocations: 24.19 MB / 1.446 GB, free: 233.5 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 9.447e-06/3.239, allocations: 2.719 kB / 1.446 GB, free: 233.5 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.01231/3.252, allocations: 6.46 MB / 1.452 GB, free: 230.5 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02966/3.281, allocations: 5.046 MB / 1.457 GB, free: 229.3 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03823/3.32, allocations: 23.12 MB / 1.479 GB, free: 208.4 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005623/3.325, allocations: 5.363 MB / 1.485 GB, free: 203 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.02221/3.348, allocations: 4.957 MB / 1.489 GB, free: 198 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01022/3.358, allocations: 0.9164 MB / 1.49 GB, free: 197.1 MB / 0.6199 GB Notification: Performance of SimCode: time 2.489e-06/3.358, allocations: 0 / 1.49 GB, free: 197.1 MB / 0.6199 GB Notification: Performance of Templates: time 0.7671/4.125, allocations: 219.4 MB / 1.705 GB, free: 214.8 MB / 0.6199 GB