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.00374/0.003746, allocations: 358.4 kB / 16.59 MB, free: 5.562 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.496/1.496, allocations: 165.8 MB / 183.1 MB, free: 5.426 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.603/3.603, allocations: 410.8 MB / 0.6001 GB, free: 15.15 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.001781/0.001781, allocations: 193.4 kB / 0.6668 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.000462, allocations: 20 kB / 0.7429 GB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4199, allocations: 67.44 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example1v2): time 0.1011/0.521, allocations: 74.4 MB / 0.8814 GB, free: 2.191 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.04321/0.5643, allocations: 20.74 MB / 0.9016 GB, free: 13.41 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003752/0.5681, allocations: 91.31 kB / 0.9017 GB, free: 13.32 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005288/0.5734, allocations: 1.134 MB / 0.9028 GB, free: 12.18 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01307/0.5865, allocations: 3.307 MB / 0.9061 GB, free: 8.859 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.016/0.6025, allocations: 3.936 MB / 0.9099 GB, free: 4.973 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.8498/1.452, allocations: 30.02 MB / 0.9392 GB, free: 17.31 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02477/1.477, allocations: 12.94 MB / 0.9519 GB, free: 15.81 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01838/1.496, allocations: 8.917 MB / 0.9606 GB, free: 15.8 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02575/1.521, allocations: 10.74 MB / 0.9711 GB, free: 15.78 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00526/1.527, allocations: 0.8201 MB / 0.9719 GB, free: 15.78 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01125/1.538, allocations: 1.784 MB / 0.9736 GB, free: 15.78 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.007231/1.545, allocations: 2.957 MB / 0.9765 GB, free: 15.27 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.005707/1.551, allocations: 1.832 MB / 0.9783 GB, free: 15.1 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02035/1.571, allocations: 13.91 MB / 0.9919 GB, free: 5.527 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1.571, allocations: 0 / 0.9919 GB, free: 5.527 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.775e-06/1.571, allocations: 0 / 0.9919 GB, free: 5.527 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.0004764/1.572, allocations: 0 / 0.9919 GB, free: 5.527 MB / 474.8 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.05365/1.626, allocations: 13.07 MB / 1.005 GB, free: 9.129 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/1.626, allocations: 13.89 kB / 1.005 GB, free: 9.117 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/1.636, allocations: 1.271 MB / 1.006 GB, free: 7.84 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03142/1.668, allocations: 9.619 MB / 1.015 GB, free: 0.6602 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005945/1.668, allocations: 440.3 kB / 1.016 GB, free: 420 kB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004002/1.672, allocations: 0.5761 MB / 1.016 GB, free: 20 kB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04434/1.717, allocations: 14.68 MB / 1.031 GB, free: 5.383 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002905/1.717, allocations: 23.78 kB / 1.031 GB, free: 5.359 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003268/1.72, allocations: 242.4 kB / 1.031 GB, free: 5.301 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/1.72, allocations: 136 kB / 1.031 GB, free: 5.168 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05163/1.772, allocations: 19.89 MB / 1.05 GB, free: 6.871 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.1829/1.955, allocations: 66.62 MB / 1.115 GB, free: 3.285 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02376/1.979, allocations: 9.333 MB / 1.125 GB, free: 9.957 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02125/2, allocations: 8.669 MB / 1.133 GB, free: 1.293 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.099/2.099, allocations: 30.98 MB / 1.163 GB, free: 2.035 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4114/2.511, allocations: 7.738 MB / 1.171 GB, free: 249.2 MB / 0.6199 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0711/2.582, allocations: 11.76 MB / 1.182 GB, free: 246.9 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=300): time 3.431e-05/2.582, allocations: 0 / 1.182 GB, free: 246.9 MB / 0.6199 GB Notification: Performance of matching and sorting (n=300): time 0.0956/2.678, allocations: 24.43 MB / 1.206 GB, free: 228.8 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/2.678, allocations: 93.72 kB / 1.206 GB, free: 228.7 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01731/2.695, allocations: 8.092 MB / 1.214 GB, free: 220.7 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.002544/2.698, allocations: 101.7 kB / 1.214 GB, free: 220.6 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.00531/2.703, allocations: 4.02 MB / 1.218 GB, free: 217 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.003736/2.707, allocations: 1.073 MB / 1.219 GB, free: 215.9 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002405/2.709, allocations: 88 kB / 1.219 GB, free: 215.8 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0004183/2.71, allocations: 0.4919 MB / 1.22 GB, free: 215.3 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01571/2.725, allocations: 6.543 MB / 1.226 GB, free: 208.8 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01695/2.742, allocations: 8.397 MB / 1.234 GB, free: 199.5 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01773/2.76, allocations: 7.442 MB / 1.242 GB, free: 192.1 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.394e-05/2.76, allocations: 16 kB / 1.242 GB, free: 192 MB / 0.6199 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.05772/2.818, allocations: 17.81 MB / 1.259 GB, free: 174.2 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008035/2.819, allocations: 1.558 MB / 1.261 GB, free: 171.9 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-05/2.819, allocations: 52 kB / 1.261 GB, free: 171.9 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.134/2.953, allocations: 11.49 MB / 1.272 GB, free: 160.4 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01607/2.969, allocations: 1.565 MB / 1.273 GB, free: 158.9 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01496/2.984, allocations: 6.807 MB / 1.28 GB, free: 151.8 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01933/3.003, allocations: 0.5865 MB / 1.281 GB, free: 151.2 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003434/3.007, allocations: 0.546 MB / 1.281 GB, free: 150.7 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/3.007, allocations: 4 kB / 1.281 GB, free: 150.7 MB / 0.6199 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05173/3.059, allocations: 16.73 MB / 1.298 GB, free: 133.9 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001115/3.059, allocations: 48 kB / 1.298 GB, free: 133.9 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1301/3.189, allocations: 11.03 MB / 1.308 GB, free: 122.9 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01581/3.205, allocations: 1.553 MB / 1.31 GB, free: 121.3 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02238/3.227, allocations: 11.03 MB / 1.321 GB, free: 109.9 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01823/3.245, allocations: 0.566 MB / 1.321 GB, free: 109.3 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003325/3.249, allocations: 0.5304 MB / 1.322 GB, free: 108.8 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.009758/3.259, allocations: 2.642 MB / 1.324 GB, free: 106.1 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004505/3.263, allocations: 0.7486 MB / 1.325 GB, free: 105.3 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04718/3.31, allocations: 14.35 MB / 1.339 GB, free: 90.94 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02848/3.339, allocations: 10.93 MB / 1.35 GB, free: 79.91 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.087e-05/3.339, allocations: 0 / 1.35 GB, free: 79.91 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007771/3.347, allocations: 2.002 MB / 1.352 GB, free: 77.88 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003603/3.35, allocations: 74.39 kB / 1.352 GB, free: 77.81 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01296/3.363, allocations: 446.8 kB / 1.352 GB, free: 77.38 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001993/3.365, allocations: 254.4 kB / 1.352 GB, free: 77.12 MB / 0.6199 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03758/3.403, allocations: 12.02 MB / 1.364 GB, free: 65.13 MB / 0.6199 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04436/3.447, allocations: 19.54 MB / 1.383 GB, free: 45.52 MB / 0.6199 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01173/3.459, allocations: 6.081 MB / 1.389 GB, free: 39.43 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.01259/3.472, allocations: 5.566 MB / 1.395 GB, free: 33.89 MB / 0.6199 GB Notification: Performance of Backend: time 2.004e-06/3.472, allocations: 0 / 1.395 GB, free: 33.89 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.05751/3.529, allocations: 19.8 MB / 1.414 GB, free: 14.12 MB / 0.6199 GB Notification: Performance of SimCode: time 0.464/3.993, allocations: 23.24 MB / 1.437 GB, free: 229 MB / 0.6199 GB Notification: Performance of Templates: time 0.9302/4.924, allocations: 260.2 MB / 1.691 GB, free: 216.6 MB / 0.6199 GB