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.001214/0.001214, allocations: 114 kB / 17.08 MB, free: 5.965 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.001182/0.001182, allocations: 193.9 kB / 18.01 MB, free: 5.055 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.239/1.239, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6685/0.6685, allocations: 115.3 MB / 407.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 62.19 kB / 0.5583 GB, free: 32.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1364, allocations: 76.19 MB / 0.6327 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example1v2): time 0.07775/0.2142, allocations: 81.03 MB / 0.7119 GB, free: 3.078 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02954/0.2438, allocations: 21.08 MB / 0.7325 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003941/0.2478, allocations: 107.4 kB / 0.7326 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005967/0.2537, allocations: 1.954 MB / 0.7345 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00813/0.2619, allocations: 2.925 MB / 0.7373 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006248/0.2682, allocations: 2.483 MB / 0.7398 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3536/0.6218, allocations: 29.78 MB / 0.7688 GB, free: 17.28 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01869/0.6405, allocations: 17.04 MB / 0.7855 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02129/0.6619, allocations: 11.42 MB / 0.7966 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01892/0.6808, allocations: 11.74 MB / 0.8081 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.004906/0.6858, allocations: 1.289 MB / 0.8094 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01121/0.697, allocations: 2.752 MB / 0.812 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.006751/0.7038, allocations: 3.785 MB / 0.8157 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0151/0.7189, allocations: 6.679 MB / 0.8223 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02533/0.7443, allocations: 19.11 MB / 0.8409 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.7444, allocations: 0 / 0.8409 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7444, allocations: 0 / 0.8409 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0005111/0.7449, allocations: 0 / 0.8409 GB, free: 6.348 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.03657/0.7815, allocations: 12.63 MB / 0.8533 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.7815, allocations: 8.031 kB / 0.8533 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00892/0.7905, allocations: 1.393 MB / 0.8546 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0253/0.8158, allocations: 11.22 MB / 0.8656 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004933/0.8163, allocations: 435.1 kB / 0.866 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00345/0.8198, allocations: 0.5818 MB / 0.8666 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03363/0.8535, allocations: 14.65 MB / 0.8809 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003166/0.8538, allocations: 24.25 kB / 0.8809 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003332/0.8572, allocations: 244 kB / 0.8811 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/0.8573, allocations: 140 kB / 0.8813 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03258/0.8899, allocations: 19.8 MB / 0.9006 GB, free: 9.461 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.1017/0.9916, allocations: 60.45 MB / 0.9596 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01384/1.006, allocations: 9.189 MB / 0.9686 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01194/1.017, allocations: 8.602 MB / 0.977 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0514/1.069, allocations: 27.51 MB / 1.004 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01213/1.081, allocations: 7.639 MB / 1.011 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01529/1.096, allocations: 4.506 MB / 1.016 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=298): time 1.939e-05/1.097, allocations: 0 / 1.016 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=298): time 0.05615/1.153, allocations: 23.82 MB / 1.039 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/1.153, allocations: 85.69 kB / 1.039 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01378/1.167, allocations: 8.832 MB / 1.048 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.002256/1.169, allocations: 101.7 kB / 1.048 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.5897/1.759, allocations: 4.214 MB / 1.052 GB, free: 316.7 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.002946/1.762, allocations: 1.087 MB / 1.053 GB, free: 316.3 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003966/1.766, allocations: 1.77 MB / 1.055 GB, free: 315.9 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 4.686e-05/1.766, allocations: 304.6 kB / 1.055 GB, free: 315.6 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01086/1.777, allocations: 6.729 MB / 1.062 GB, free: 313.1 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01301/1.79, allocations: 8.574 MB / 1.07 GB, free: 308.3 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02208/1.812, allocations: 15.59 MB / 1.085 GB, free: 300.7 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.948e-05/1.812, allocations: 20.59 kB / 1.085 GB, free: 300.7 MB / 0.8107 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03394/1.846, allocations: 18.06 MB / 1.103 GB, free: 290.8 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 7.716e-05/1.846, allocations: 49.7 kB / 1.103 GB, free: 290.7 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.975e-05/1.846, allocations: 52.69 kB / 1.103 GB, free: 290.7 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06409/1.91, allocations: 11.58 MB / 1.114 GB, free: 279.4 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009063/1.919, allocations: 1.604 MB / 1.116 GB, free: 277.8 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005019/1.924, allocations: 3.787 MB / 1.119 GB, free: 274 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01052/1.935, allocations: 361.5 kB / 1.12 GB, free: 273.6 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002617/1.937, allocations: 0.5538 MB / 1.12 GB, free: 273.1 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01439/1.952, allocations: 9.131 MB / 1.129 GB, free: 263.9 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01027/1.962, allocations: 8.541 MB / 1.138 GB, free: 254.5 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01979/1.982, allocations: 15.53 MB / 1.153 GB, free: 238.3 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.747e-05/1.982, allocations: 12 kB / 1.153 GB, free: 238.2 MB / 0.8107 GB Notification: Performance of matching and sorting (n=644) (initialization_lambda0): time 0.0319/2.014, allocations: 17.93 MB / 1.17 GB, free: 220.2 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 5.87e-05/2.014, allocations: 58.61 kB / 1.17 GB, free: 220.2 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.116e-05/2.014, allocations: 48 kB / 1.17 GB, free: 220.1 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06214/2.076, allocations: 11.14 MB / 1.181 GB, free: 209 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008402/2.085, allocations: 1.601 MB / 1.183 GB, free: 207.4 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008104/2.093, allocations: 8.171 MB / 1.191 GB, free: 198.9 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009994/2.103, allocations: 373.3 kB / 1.191 GB, free: 198.6 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002803/2.106, allocations: 0.546 MB / 1.192 GB, free: 198 MB / 0.8107 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.003278/2.109, allocations: 496.1 kB / 1.192 GB, free: 197.5 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003553/2.113, allocations: 0.8103 MB / 1.193 GB, free: 196.7 MB / 0.8107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.023/2.136, allocations: 14.09 MB / 1.207 GB, free: 182.6 MB / 0.8107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.781e-05/2.136, allocations: 32 kB / 1.207 GB, free: 182.5 MB / 0.8107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/2.136, allocations: 3.984 kB / 1.207 GB, free: 182.5 MB / 0.8107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01233/2.148, allocations: 10.67 MB / 1.217 GB, free: 171.8 MB / 0.8107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03298/2.181, allocations: 24.77 MB / 1.241 GB, free: 147 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/2.181, allocations: 4 kB / 1.241 GB, free: 147 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004505/2.186, allocations: 0.6984 MB / 1.242 GB, free: 146.3 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06025/2.246, allocations: 10.74 MB / 1.253 GB, free: 135.6 MB / 0.8107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001258/2.247, allocations: 107.9 kB / 1.253 GB, free: 135.5 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003036/2.25, allocations: 3.096 MB / 1.256 GB, free: 132.3 MB / 0.8107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/2.25, allocations: 0 / 1.256 GB, free: 132.3 MB / 0.8107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02345/2.274, allocations: 19.35 MB / 1.275 GB, free: 112.9 MB / 0.8107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005784/2.28, allocations: 1.877 MB / 1.276 GB, free: 111 MB / 0.8107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002211/2.282, allocations: 72.11 kB / 1.277 GB, free: 110.9 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005959/2.288, allocations: 223.5 kB / 1.277 GB, free: 110.7 MB / 0.8107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008526/2.289, allocations: 210.4 kB / 1.277 GB, free: 110.5 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006975/2.289, allocations: 159.9 kB / 1.277 GB, free: 110.3 MB / 0.8107 GB Notification: Performance of sorting global known variables: time 0.009354/2.299, allocations: 6.077 MB / 1.283 GB, free: 104.3 MB / 0.8107 GB Notification: Performance of sort global known variables: time 6.11e-07/2.299, allocations: 0 / 1.283 GB, free: 104.3 MB / 0.8107 GB Notification: Performance of remove unused functions: time 0.01698/2.316, allocations: 4.939 MB / 1.288 GB, free: 99.37 MB / 0.8107 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 (300): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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), (2,5), (20,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002414/2.318, allocations: 0.7426 MB / 1.289 GB, free: 98.71 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.03446/2.353, allocations: 24.04 MB / 1.312 GB, free: 74.62 MB / 0.8107 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/2.353, allocations: 4 kB / 1.312 GB, free: 74.62 MB / 0.8107 GB Notification: Performance of simCode: created simulation system equations: time 0.00854/2.361, allocations: 6.314 MB / 1.318 GB, free: 68.3 MB / 0.8107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02453/2.386, allocations: 5.091 MB / 1.323 GB, free: 63.4 MB / 0.8107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03419/2.42, allocations: 21.4 MB / 1.344 GB, free: 41.99 MB / 0.8107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004321/2.424, allocations: 5.41 MB / 1.349 GB, free: 36.55 MB / 0.8107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005481/2.43, allocations: 0.9749 MB / 1.35 GB, free: 35.58 MB / 0.8107 GB Notification: Performance of SimCode: time 1.282e-06/2.43, allocations: 0 / 1.35 GB, free: 35.58 MB / 0.8107 GB Notification: Performance of Templates: time 0.6351/3.065, allocations: 321 MB / 1.664 GB, free: 32.7 MB / 0.8107 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)