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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009772/0.0009772, allocations: 175.7 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4533/0.4533, allocations: 86.28 MB / 103.8 MB, free: 14.56 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 223.3 MB / 348.4 MB, free: 5.016 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008849/0.0008852, allocations: 98.81 kB / 420.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000641/0.0006412, allocations: 12 kB / 0.4901 GB, free: 8.016 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4227, allocations: 71.02 MB / 0.5594 GB, free: 43.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7211/1.144, allocations: 370.4 MB / 0.9212 GB, free: 5.938 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/1.144, allocations: 94.58 kB / 0.9213 GB, free: 5.887 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.406/9.55, allocations: 2.304 GB / 3.225 GB, free: 53.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.364e-06/9.55, allocations: 0 / 3.225 GB, free: 53.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.001747/9.551, allocations: 251 kB / 3.225 GB, free: 53.68 MB / 0.6355 GB 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.03535/9.587, allocations: 9.393 MB / 3.235 GB, free: 49.89 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/9.587, allocations: 7.75 kB / 3.235 GB, free: 49.89 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008638/9.596, allocations: 1.237 MB / 3.236 GB, free: 49.37 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03333/9.629, allocations: 12.19 MB / 3.248 GB, free: 47.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007034/9.63, allocations: 437.1 kB / 3.248 GB, free: 47.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003468/9.633, allocations: 0.5843 MB / 3.249 GB, free: 47.51 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03182/9.665, allocations: 13.68 MB / 3.262 GB, free: 46.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004546/9.665, allocations: 34.08 kB / 3.262 GB, free: 46.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003146/9.669, allocations: 238.3 kB / 3.262 GB, free: 46.62 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001368/9.669, allocations: 138.3 kB / 3.262 GB, free: 46.62 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02954/9.698, allocations: 18.34 MB / 3.28 GB, free: 39.51 MB / 0.6355 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.5229/10.22, allocations: 55.18 MB / 3.334 GB, free: 73.48 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01553/10.24, allocations: 8.839 MB / 3.343 GB, free: 73.42 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01244/10.25, allocations: 9.367 MB / 3.352 GB, free: 73.18 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0507/10.3, allocations: 26.18 MB / 3.378 GB, free: 66.32 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01217/10.31, allocations: 7.421 MB / 3.385 GB, free: 66.21 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04843/10.36, allocations: 21.14 MB / 3.405 GB, free: 65.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=301): time 3.208e-05/10.36, allocations: 0 / 3.405 GB, free: 65.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=301): time 0.05289/10.41, allocations: 22.98 MB / 3.428 GB, free: 64.52 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/10.41, allocations: 86.72 kB / 3.428 GB, free: 64.46 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02094/10.43, allocations: 7.796 MB / 3.436 GB, free: 64.01 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.003184/10.44, allocations: 102.6 kB / 3.436 GB, free: 63.98 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.006057/10.44, allocations: 3.993 MB / 3.44 GB, free: 63.43 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.003048/10.45, allocations: 1.086 MB / 3.441 GB, free: 62.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001964/10.45, allocations: 89.12 kB / 3.441 GB, free: 62.91 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0004558/10.45, allocations: 498.8 kB / 3.441 GB, free: 62.59 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009505/10.46, allocations: 6.188 MB / 3.447 GB, free: 62.57 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01074/10.47, allocations: 8.017 MB / 3.455 GB, free: 60.32 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0221/10.49, allocations: 14.57 MB / 3.469 GB, free: 58.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-05/10.49, allocations: 13.75 kB / 3.469 GB, free: 58.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03446/10.53, allocations: 16.69 MB / 3.486 GB, free: 52.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001082/10.53, allocations: 1.541 MB / 3.487 GB, free: 50.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00011/10.53, allocations: 46.31 kB / 3.487 GB, free: 50.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0596/10.59, allocations: 11.04 MB / 3.498 GB, free: 49.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008634/10.6, allocations: 1.606 MB / 3.5 GB, free: 49.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008294/10.6, allocations: 6.321 MB / 3.506 GB, free: 45.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01165/10.62, allocations: 0.5744 MB / 3.506 GB, free: 45.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002826/10.62, allocations: 0.5432 MB / 3.507 GB, free: 45.55 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/10.62, allocations: 3.969 kB / 3.507 GB, free: 45.55 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03002/10.65, allocations: 15.92 MB / 3.522 GB, free: 36.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001868/10.65, allocations: 48 kB / 3.522 GB, free: 36.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06116/10.71, allocations: 10.61 MB / 3.533 GB, free: 28.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01032/10.72, allocations: 1.598 MB / 3.534 GB, free: 27.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/10.73, allocations: 10.24 MB / 3.544 GB, free: 18.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01175/10.75, allocations: 0.5561 MB / 3.545 GB, free: 18.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002798/10.75, allocations: 0.5311 MB / 3.545 GB, free: 17.71 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * 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,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.009164/10.76, allocations: 2.636 MB / 3.548 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004645/10.76, allocations: 0.7525 MB / 3.549 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02821/10.79, allocations: 13.63 MB / 3.562 GB, free: 3.707 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.76e-05/10.79, allocations: 47.94 kB / 3.562 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/10.79, allocations: 0 / 3.562 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02025/10.81, allocations: 10.54 MB / 3.572 GB, free: 11.18 MB / 0.6667 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.4984/11.31, allocations: 23.8 MB / 3.596 GB, free: 84.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/11.31, allocations: 0.9375 kB / 3.596 GB, free: 84.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004636/11.31, allocations: 0.6994 MB / 3.596 GB, free: 84.86 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05862/11.37, allocations: 9.933 MB / 3.606 GB, free: 84.82 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001316/11.37, allocations: 104.4 kB / 3.606 GB, free: 84.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004079/11.38, allocations: 4.335 MB / 3.61 GB, free: 82.04 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/11.38, allocations: 0 / 3.61 GB, free: 82.04 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02806/11.41, allocations: 18.42 MB / 3.628 GB, free: 81.65 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006858/11.41, allocations: 1.898 MB / 3.63 GB, free: 81.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003071/11.42, allocations: 71.62 kB / 3.63 GB, free: 81.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007677/11.42, allocations: 409 kB / 3.631 GB, free: 81.55 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001116/11.42, allocations: 224.2 kB / 3.631 GB, free: 81.55 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006456/11.43, allocations: 157.2 kB / 3.631 GB, free: 81.55 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.008863/11.43, allocations: 5.342 MB / 3.636 GB, free: 81.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.91e-07/11.43, allocations: 0 / 3.636 GB, free: 81.3 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.02095/11.46, allocations: 4.872 MB / 3.641 GB, free: 81.16 MB / 0.6667 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 (305): * Single equations (assignments): 295 * 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,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003168/11.46, allocations: 1.239 MB / 3.642 GB, free: 80.97 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.04256/11.5, allocations: 23.57 MB / 3.665 GB, free: 80.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/11.5, allocations: 6.938 kB / 3.665 GB, free: 80.19 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.009253/11.51, allocations: 6.201 MB / 3.671 GB, free: 80.04 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03269/11.54, allocations: 4.598 MB / 3.676 GB, free: 80 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05508/11.6, allocations: 22.29 MB / 3.697 GB, free: 72.63 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0062/11.6, allocations: 5.213 MB / 3.703 GB, free: 71.66 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.02312/11.63, allocations: 4.979 MB / 3.707 GB, free: 70.88 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006189/11.63, allocations: 0.9056 MB / 3.708 GB, free: 70.88 MB / 0.6667 GB Notification: Performance of SimCode: time 1.352e-06/11.63, allocations: 0 / 3.708 GB, free: 70.88 MB / 0.6667 GB Notification: Performance of Templates: time 0.82/12.45, allocations: 219.1 MB / 3.922 GB, free: 65.5 MB / 0.6823 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)