Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v2") translateModel(IBPSA.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 106.1 kB / 17.08 MB, free: 6.09 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.001323/0.001323, allocations: 192.3 kB / 18.02 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6583/0.6583, allocations: 115.3 MB / 407.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 69.55 kB / 0.5584 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1177, allocations: 76.17 MB / 0.6327 GB, free: 4.52 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example1v2): time 0.07237/0.1901, allocations: 81.04 MB / 0.7119 GB, free: 3.191 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02735/0.2175, allocations: 21.08 MB / 0.7325 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003184/0.2207, allocations: 103.4 kB / 0.7326 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004913/0.2256, allocations: 1.95 MB / 0.7345 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006737/0.2324, allocations: 2.929 MB / 0.7373 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005183/0.2376, allocations: 2.491 MB / 0.7398 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.303/0.5405, allocations: 29.78 MB / 0.7689 GB, free: 17.33 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01745/0.558, allocations: 17.04 MB / 0.7855 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01869/0.5768, allocations: 11.41 MB / 0.7966 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01778/0.5946, allocations: 11.75 MB / 0.8081 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.004518/0.5991, allocations: 1.289 MB / 0.8094 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009856/0.609, allocations: 2.76 MB / 0.8121 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005783/0.6148, allocations: 3.772 MB / 0.8157 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01337/0.6282, allocations: 6.68 MB / 0.8223 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02417/0.6524, allocations: 19.1 MB / 0.8409 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.6524, allocations: 3.562 kB / 0.8409 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6525, allocations: 0 / 0.8409 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0004541/0.6529, allocations: 0 / 0.8409 GB, free: 6.461 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1422 * Number of variables: 1422 Notification: Performance of Generate backend data structure: time 0.03442/0.6873, allocations: 12.64 MB / 0.8533 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.6874, allocations: 8.031 kB / 0.8533 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008513/0.6959, allocations: 1.397 MB / 0.8546 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0227/0.7187, allocations: 11.2 MB / 0.8656 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004323/0.7191, allocations: 439.1 kB / 0.866 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002919/0.7221, allocations: 0.5857 MB / 0.8666 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02964/0.7517, allocations: 14.65 MB / 0.8809 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002492/0.752, allocations: 29.42 kB / 0.8809 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002552/0.7546, allocations: 244 kB / 0.8811 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/0.7547, allocations: 136 kB / 0.8813 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03112/0.7858, allocations: 19.81 MB / 0.9006 GB, free: 9.578 MB / 0.67 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.09172/0.8776, allocations: 60.45 MB / 0.9596 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01331/0.8909, allocations: 9.181 MB / 0.9686 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01155/0.9025, allocations: 8.605 MB / 0.977 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04808/0.9506, allocations: 27.52 MB / 1.004 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01067/0.9613, allocations: 7.651 MB / 1.011 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01469/0.976, allocations: 4.488 MB / 1.016 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=298): time 1.512e-05/0.9761, allocations: 0 / 1.016 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of matching and sorting (n=298): time 0.05217/1.028, allocations: 23.82 MB / 1.039 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/1.028, allocations: 89.67 kB / 1.039 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01359/1.042, allocations: 8.836 MB / 1.048 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.001707/1.044, allocations: 97.7 kB / 1.048 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.2642/1.308, allocations: 4.211 MB / 1.052 GB, free: 318.4 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.002487/1.31, allocations: 1.081 MB / 1.053 GB, free: 318 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003375/1.314, allocations: 1.766 MB / 1.055 GB, free: 317.7 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 3.857e-05/1.314, allocations: 307.2 kB / 1.055 GB, free: 317.4 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009482/1.323, allocations: 6.729 MB / 1.062 GB, free: 314.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01114/1.335, allocations: 8.569 MB / 1.07 GB, free: 310.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01837/1.353, allocations: 15.6 MB / 1.085 GB, free: 302.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.101e-05/1.353, allocations: 13.72 kB / 1.085 GB, free: 302.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02826/1.381, allocations: 18.06 MB / 1.103 GB, free: 293.4 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.719e-05/1.381, allocations: 57.7 kB / 1.103 GB, free: 293.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-05/1.381, allocations: 48 kB / 1.103 GB, free: 293.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0656/1.447, allocations: 11.59 MB / 1.114 GB, free: 282 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007878/1.455, allocations: 1.601 MB / 1.116 GB, free: 280.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004588/1.46, allocations: 3.786 MB / 1.12 GB, free: 276.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009361/1.469, allocations: 351.7 kB / 1.12 GB, free: 276.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001804/1.471, allocations: 0.5577 MB / 1.12 GB, free: 275.6 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01187/1.483, allocations: 9.131 MB / 1.129 GB, free: 266.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008401/1.491, allocations: 8.537 MB / 1.138 GB, free: 257.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01653/1.508, allocations: 15.53 MB / 1.153 GB, free: 240.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.067e-05/1.508, allocations: 19.98 kB / 1.153 GB, free: 240.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=644) (initialization_lambda0): time 0.0264/1.534, allocations: 17.93 MB / 1.17 GB, free: 222.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/1.534, allocations: 63.5 kB / 1.17 GB, free: 222.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-05/1.534, allocations: 48 kB / 1.17 GB, free: 222.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06441/1.599, allocations: 11.14 MB / 1.181 GB, free: 211.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008184/1.607, allocations: 1.604 MB / 1.183 GB, free: 210 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007991/1.615, allocations: 8.163 MB / 1.191 GB, free: 201.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009069/1.624, allocations: 377.6 kB / 1.191 GB, free: 201.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001856/1.626, allocations: 0.546 MB / 1.192 GB, free: 200.6 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 221 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (558): * Single equations (assignments): 552 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,5), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.002629/1.628, allocations: 499.1 kB / 1.192 GB, free: 200.1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002862/1.631, allocations: 0.7986 MB / 1.193 GB, free: 199.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01979/1.651, allocations: 14.1 MB / 1.207 GB, free: 185.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01193/1.663, allocations: 10.67 MB / 1.217 GB, free: 174.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/1.663, allocations: 0.5156 kB / 1.217 GB, free: 174.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004073/1.667, allocations: 1.873 MB / 1.219 GB, free: 172.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001654/1.669, allocations: 67.98 kB / 1.219 GB, free: 172.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005179/1.674, allocations: 211.6 kB / 1.219 GB, free: 172.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000853/1.675, allocations: 254.4 kB / 1.22 GB, free: 172 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01732/1.692, allocations: 11.61 MB / 1.231 GB, free: 160.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01956/1.712, allocations: 19.15 MB / 1.25 GB, free: 141.2 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005165/1.717, allocations: 5.964 MB / 1.255 GB, free: 135.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.006675/1.724, allocations: 6.075 MB / 1.261 GB, free: 129.1 MB / 0.8106 GB Notification: Performance of Backend: time 3.81e-07/1.724, allocations: 4 kB / 1.261 GB, free: 129.1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.02844/1.752, allocations: 19.82 MB / 1.281 GB, free: 109.4 MB / 0.8106 GB Notification: Performance of SimCode: time 0.03365/1.786, allocations: 21.71 MB / 1.302 GB, free: 87.85 MB / 0.8106 GB Notification: Performance of Templates: time 0.5483/2.334, allocations: 280.2 MB / 1.576 GB, free: 142.9 MB / 0.8106 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v2.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v2.pipe 2>&1)