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.001322/0.001322, allocations: 113.8 kB / 17.08 MB, free: 5.988 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.001315/0.001315, allocations: 196.7 kB / 18.02 MB, free: 5.062 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.266/1.266, 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.6644/0.6644, allocations: 115.3 MB / 407.2 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.62 kB / 0.5583 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1246, allocations: 76.18 MB / 0.6327 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example1v2): time 0.06905/0.1937, allocations: 81.04 MB / 0.7119 GB, free: 3.059 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02882/0.2225, allocations: 21.08 MB / 0.7325 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004059/0.2266, allocations: 103.4 kB / 0.7326 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005571/0.2322, allocations: 1.948 MB / 0.7345 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007873/0.2401, allocations: 2.933 MB / 0.7373 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00594/0.2461, allocations: 2.491 MB / 0.7398 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3619/0.608, allocations: 29.77 MB / 0.7688 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01932/0.6273, allocations: 17.04 MB / 0.7855 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02271/0.6501, allocations: 11.43 MB / 0.7966 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02077/0.6709, allocations: 11.74 MB / 0.8081 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.006253/0.6772, allocations: 1.289 MB / 0.8094 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01212/0.6893, allocations: 2.756 MB / 0.8121 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.006894/0.6963, allocations: 3.777 MB / 0.8157 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01549/0.7118, allocations: 6.682 MB / 0.8223 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02485/0.7367, allocations: 19.1 MB / 0.8409 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.7368, allocations: 0 / 0.8409 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7368, allocations: 0 / 0.8409 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000519/0.7373, allocations: 0 / 0.8409 GB, free: 6.336 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.03269/0.77, allocations: 12.64 MB / 0.8533 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.7701, allocations: 8.031 kB / 0.8533 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007956/0.778, allocations: 1.393 MB / 0.8546 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02135/0.7994, allocations: 11.2 MB / 0.8656 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00038/0.7998, allocations: 439.1 kB / 0.866 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003013/0.8028, allocations: 0.5857 MB / 0.8666 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02669/0.8295, allocations: 14.65 MB / 0.8809 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001556/0.8297, allocations: 23.31 kB / 0.8809 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001571/0.8313, allocations: 240 kB / 0.8811 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-05/0.8314, allocations: 140 kB / 0.8813 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02973/0.8612, allocations: 19.81 MB / 0.9006 GB, free: 9.453 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.09639/0.9576, allocations: 60.46 MB / 0.9596 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01376/0.9714, allocations: 9.177 MB / 0.9686 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01178/0.9832, allocations: 8.602 MB / 0.977 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05083/1.034, allocations: 27.51 MB / 1.004 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01274/1.047, allocations: 7.647 MB / 1.011 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01512/1.062, allocations: 4.499 MB / 1.016 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=298): time 2.083e-05/1.062, allocations: 0 / 1.016 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of matching and sorting (n=298): time 0.05546/1.118, allocations: 23.81 MB / 1.039 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/1.118, allocations: 93.44 kB / 1.039 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01687/1.135, allocations: 8.836 MB / 1.048 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.002084/1.137, allocations: 97.7 kB / 1.048 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.5871/1.724, allocations: 4.214 MB / 1.052 GB, free: 316.7 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.003179/1.727, allocations: 1.081 MB / 1.053 GB, free: 316.3 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007016/1.734, allocations: 1.769 MB / 1.055 GB, free: 315.8 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 4.628e-05/1.734, allocations: 303 kB / 1.055 GB, free: 315.5 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01132/1.746, allocations: 6.733 MB / 1.062 GB, free: 313 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01296/1.759, allocations: 8.575 MB / 1.07 GB, free: 308.2 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02113/1.78, allocations: 15.59 MB / 1.085 GB, free: 300.7 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.612e-05/1.78, allocations: 10.88 kB / 1.085 GB, free: 300.7 MB / 0.8107 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03647/1.816, allocations: 18.06 MB / 1.103 GB, free: 290.8 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 7.823e-05/1.816, allocations: 57.69 kB / 1.103 GB, free: 290.7 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.498e-05/1.817, allocations: 52 kB / 1.103 GB, free: 290.7 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06278/1.879, allocations: 11.59 MB / 1.114 GB, free: 279.4 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008149/1.888, allocations: 1.601 MB / 1.116 GB, free: 277.8 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004519/1.892, allocations: 3.784 MB / 1.119 GB, free: 274 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01007/1.902, allocations: 363.7 kB / 1.12 GB, free: 273.6 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002865/1.905, allocations: 0.5499 MB / 1.12 GB, free: 273.1 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01472/1.92, allocations: 9.131 MB / 1.129 GB, free: 263.9 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01026/1.93, allocations: 8.533 MB / 1.138 GB, free: 254.5 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01927/1.949, allocations: 15.53 MB / 1.153 GB, free: 238.3 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.295e-05/1.95, allocations: 16 kB / 1.153 GB, free: 238.3 MB / 0.8107 GB Notification: Performance of matching and sorting (n=644) (initialization_lambda0): time 0.03348/1.983, allocations: 17.94 MB / 1.17 GB, free: 220.2 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 6.021e-05/1.983, allocations: 57.64 kB / 1.17 GB, free: 220.2 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.062e-05/1.983, allocations: 48.09 kB / 1.17 GB, free: 220.1 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06226/2.045, allocations: 11.15 MB / 1.181 GB, free: 209 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007893/2.053, allocations: 1.608 MB / 1.183 GB, free: 207.4 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007679/2.061, allocations: 8.162 MB / 1.191 GB, free: 198.9 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009441/2.071, allocations: 368.1 kB / 1.191 GB, free: 198.6 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002601/2.073, allocations: 0.5421 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.002778/2.076, allocations: 0.499 MB / 1.192 GB, free: 197.5 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003393/2.079, allocations: 0.7993 MB / 1.193 GB, free: 196.7 MB / 0.8107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02332/2.103, allocations: 14.09 MB / 1.207 GB, free: 182.6 MB / 0.8107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.205e-05/2.103, allocations: 43.92 kB / 1.207 GB, free: 182.6 MB / 0.8107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/2.103, allocations: 4 kB / 1.207 GB, free: 182.5 MB / 0.8107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01318/2.116, allocations: 10.67 MB / 1.217 GB, free: 171.8 MB / 0.8107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03282/2.149, allocations: 24.77 MB / 1.241 GB, free: 147 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/2.149, allocations: 0 / 1.241 GB, free: 147 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004554/2.154, allocations: 0.6923 MB / 1.242 GB, free: 146.3 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05818/2.212, allocations: 10.74 MB / 1.253 GB, free: 135.6 MB / 0.8107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001187/2.213, allocations: 107.9 kB / 1.253 GB, free: 135.5 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002885/2.216, allocations: 3.104 MB / 1.256 GB, free: 132.3 MB / 0.8107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/2.216, allocations: 0 / 1.256 GB, free: 132.3 MB / 0.8107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02303/2.239, allocations: 19.35 MB / 1.275 GB, free: 112.9 MB / 0.8107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004995/2.244, allocations: 1.873 MB / 1.276 GB, free: 111 MB / 0.8107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002423/2.246, allocations: 80.11 kB / 1.277 GB, free: 110.9 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005747/2.252, allocations: 215.5 kB / 1.277 GB, free: 110.7 MB / 0.8107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009612/2.253, allocations: 214.4 kB / 1.277 GB, free: 110.5 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005438/2.254, allocations: 155.9 kB / 1.277 GB, free: 110.3 MB / 0.8107 GB Notification: Performance of sorting global known variables: time 0.008064/2.262, allocations: 6.083 MB / 1.283 GB, free: 104.3 MB / 0.8107 GB Notification: Performance of sort global known variables: time 2.104e-06/2.262, allocations: 0 / 1.283 GB, free: 104.3 MB / 0.8107 GB Notification: Performance of remove unused functions: time 0.01608/2.278, allocations: 4.95 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.002237/2.28, allocations: 0.7316 MB / 1.289 GB, free: 98.72 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.03176/2.312, allocations: 24.03 MB / 1.312 GB, free: 74.63 MB / 0.8107 GB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/2.312, allocations: 4 kB / 1.312 GB, free: 74.63 MB / 0.8107 GB Notification: Performance of simCode: created simulation system equations: time 0.007824/2.32, allocations: 6.317 MB / 1.318 GB, free: 68.31 MB / 0.8107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02108/2.341, allocations: 5.094 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.03075/2.372, 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.004172/2.376, allocations: 5.406 MB / 1.349 GB, free: 36.56 MB / 0.8107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005244/2.381, allocations: 0.9789 MB / 1.35 GB, free: 35.58 MB / 0.8107 GB Notification: Performance of SimCode: time 1.002e-06/2.381, allocations: 0 / 1.35 GB, free: 35.58 MB / 0.8107 GB Notification: Performance of Templates: time 0.6215/3.003, allocations: 321 MB / 1.664 GB, free: 32.74 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)