Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.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.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 173.2 kB / 16.76 MB, free: 4.945 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.469/0.469, allocations: 86.27 MB / 103.8 MB, free: 14.57 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.268/1.268, allocations: 223.2 MB / 348.4 MB, free: 5.02 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.000808/0.000808, allocations: 100.3 kB / 420.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003548, allocations: 12 kB / 0.4901 GB, free: 8.004 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3082, allocations: 71.02 MB / 0.5594 GB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7881/1.096, allocations: 396.8 MB / 0.9469 GB, free: 229.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001882/1.097, allocations: 103.4 kB / 0.947 GB, free: 229.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.236/4.333, allocations: 1.141 GB / 2.088 GB, free: 30.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.985e-06/4.333, allocations: 0 / 2.088 GB, free: 30.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0004249/4.333, allocations: 51.14 kB / 2.088 GB, free: 30.72 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.007059/4.34, allocations: 2.609 MB / 2.091 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/4.34, allocations: 8.031 kB / 2.091 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/4.342, allocations: 374 kB / 2.091 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005556/4.348, allocations: 2.389 MB / 2.093 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-05/4.348, allocations: 106.7 kB / 2.093 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003063/4.348, allocations: 138.6 kB / 2.094 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/4.351, allocations: 1.408 MB / 2.095 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.675e-05/4.351, allocations: 0 / 2.095 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/4.351, allocations: 57.48 kB / 2.095 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.174e-05/4.351, allocations: 46.3 kB / 2.095 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/4.353, allocations: 1.039 MB / 2.096 GB, free: 22.42 MB / 0.6198 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.007886/4.361, allocations: 7.153 MB / 2.103 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/4.362, allocations: 1.28 MB / 2.104 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006858/4.363, allocations: 431.1 kB / 2.105 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003867/4.367, allocations: 2.57 MB / 2.107 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007427/4.367, allocations: 470.6 kB / 2.108 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006235/4.368, allocations: 91.33 kB / 2.108 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=66): time 5.35e-06/4.368, allocations: 4 kB / 2.108 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66): time 0.002313/4.37, allocations: 1.246 MB / 2.109 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/4.371, allocations: 162.8 kB / 2.109 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/4.372, allocations: 1.413 MB / 2.11 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-05/4.372, allocations: 53.22 kB / 2.111 GB, free: 6.645 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005552/4.373, allocations: 0.8827 MB / 2.111 GB, free: 5.754 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/4.373, allocations: 242.8 kB / 2.112 GB, free: 5.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/4.373, allocations: 20 kB / 2.112 GB, free: 5.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.443e-05/4.373, allocations: 338 kB / 2.112 GB, free: 5.164 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005998/4.374, allocations: 317.8 kB / 2.112 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007377/4.375, allocations: 0.7085 MB / 2.113 GB, free: 3.973 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/4.376, allocations: 0.9995 MB / 2.114 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/4.376, allocations: 4 kB / 2.114 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001884/4.378, allocations: 1.165 MB / 2.115 GB, free: 1.645 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000166/4.378, allocations: 413.8 kB / 2.115 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/4.378, allocations: 11.94 kB / 2.115 GB, free: 1.086 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/4.378, allocations: 16 kB / 2.115 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008144/4.379, allocations: 239.6 kB / 2.116 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.049e-05/4.379, allocations: 23.92 kB / 2.116 GB, free: 0.8125 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/4.38, allocations: 119.7 kB / 2.116 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.971e-05/4.38, allocations: 55.97 kB / 2.116 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/4.38, allocations: 4 kB / 2.116 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3129/4.693, allocations: 0.9916 MB / 2.117 GB, free: 66.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/4.693, allocations: 8.938 kB / 2.117 GB, free: 66.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/4.693, allocations: 19.06 kB / 2.117 GB, free: 66.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008143/4.694, allocations: 236.5 kB / 2.117 GB, free: 66.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/4.694, allocations: 20.28 kB / 2.117 GB, free: 66.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/4.695, allocations: 112.5 kB / 2.117 GB, free: 66.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-05/4.695, allocations: 51.03 kB / 2.117 GB, free: 66.48 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 116 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009148/4.696, allocations: 496 kB / 2.118 GB, free: 66.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/4.697, allocations: 169.1 kB / 2.118 GB, free: 66.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/4.699, allocations: 1.116 MB / 2.119 GB, free: 66.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/4.699, allocations: 14.52 kB / 2.119 GB, free: 66.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/4.699, allocations: 1.438 kB / 2.119 GB, free: 66.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001498/4.7, allocations: 0.8242 MB / 2.12 GB, free: 65.94 MB / 0.6198 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.004211/4.704, allocations: 2.679 MB / 2.122 GB, free: 65.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/4.704, allocations: 1.812 kB / 2.122 GB, free: 65.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006741/4.705, allocations: 154 kB / 2.123 GB, free: 65.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001333/4.705, allocations: 24.98 kB / 2.123 GB, free: 65.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.779e-05/4.705, allocations: 22.77 kB / 2.123 GB, free: 65.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000708/4.706, allocations: 1.302 MB / 2.124 GB, free: 64.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/4.706, allocations: 16.3 kB / 2.124 GB, free: 64.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/4.708, allocations: 1.6 MB / 2.126 GB, free: 63.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005167/4.709, allocations: 353.9 kB / 2.126 GB, free: 63.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/4.709, allocations: 21.94 kB / 2.126 GB, free: 63.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000872/4.71, allocations: 105.8 kB / 2.126 GB, free: 63.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/4.71, allocations: 61.88 kB / 2.126 GB, free: 63.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.188e-05/4.71, allocations: 35.61 kB / 2.126 GB, free: 63.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00118/4.711, allocations: 1.02 MB / 2.127 GB, free: 63.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.91e-07/4.711, allocations: 3.75 kB / 2.127 GB, free: 63.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002644/4.714, allocations: 1.021 MB / 2.128 GB, free: 63.45 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001613/4.716, allocations: 1.075 MB / 2.129 GB, free: 63.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00237/4.718, allocations: 1.468 MB / 2.131 GB, free: 63.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/4.718, allocations: 5.562 kB / 2.131 GB, free: 63.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008786/4.719, allocations: 0.5304 MB / 2.131 GB, free: 63.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003867/4.723, allocations: 0.8416 MB / 2.132 GB, free: 63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005046/4.728, allocations: 3.776 MB / 2.136 GB, free: 61.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000726/4.729, allocations: 1.384 MB / 2.137 GB, free: 60.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001776/4.73, allocations: 439.5 kB / 2.137 GB, free: 60.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/4.731, allocations: 139 kB / 2.137 GB, free: 60.55 MB / 0.6198 GB Notification: Performance of SimCode: time 1.442e-06/4.731, allocations: 2.406 kB / 2.137 GB, free: 60.55 MB / 0.6198 GB Notification: Performance of Templates: time 0.05423/4.785, allocations: 37.58 MB / 2.174 GB, free: 58.89 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)