Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.00836/0.00836, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7379/0.7379, allocations: 135.2 MB / 151.1 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.2 MB / 406.9 MB, free: 3.129 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009617/0.0009617, allocations: 101 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003399, allocations: 12 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.375, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7014/1.076, allocations: 408.2 MB / 1.048 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/1.077, allocations: 102.2 kB / 1.048 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.232/5.309, allocations: 1.152 GB / 2.201 GB, free: 92.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.415e-06/5.309, allocations: 5.375 kB / 2.201 GB, free: 92.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002698/5.31, allocations: 58.44 kB / 2.201 GB, free: 92.81 MB / 0.698 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.007887/5.317, allocations: 2.631 MB / 2.203 GB, free: 91.65 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/5.318, allocations: 6.812 kB / 2.203 GB, free: 91.65 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/5.319, allocations: 374.2 kB / 2.204 GB, free: 91.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006503/5.326, allocations: 2.468 MB / 2.206 GB, free: 91.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.904e-05/5.326, allocations: 105.5 kB / 2.206 GB, free: 91.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002105/5.326, allocations: 137.2 kB / 2.206 GB, free: 91.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/5.329, allocations: 1.386 MB / 2.208 GB, free: 90.81 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/5.329, allocations: 7 kB / 2.208 GB, free: 90.81 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/5.329, allocations: 56.7 kB / 2.208 GB, free: 90.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.242e-05/5.329, allocations: 47.59 kB / 2.208 GB, free: 90.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/5.331, allocations: 1.037 MB / 2.209 GB, free: 90.79 MB / 0.698 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.009716/5.341, allocations: 7.198 MB / 2.216 GB, free: 86.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/5.342, allocations: 1.282 MB / 2.217 GB, free: 86.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004721/5.347, allocations: 2.582 MB / 2.22 GB, free: 84.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008645/5.348, allocations: 437 kB / 2.22 GB, free: 84.79 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008462/5.349, allocations: 89.39 kB / 2.22 GB, free: 84.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=68): time 3.867e-06/5.349, allocations: 2.938 kB / 2.22 GB, free: 84.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=68): time 0.002545/5.352, allocations: 1.194 MB / 2.221 GB, free: 84.51 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/5.352, allocations: 109.2 kB / 2.221 GB, free: 84.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/5.354, allocations: 1.303 MB / 2.223 GB, free: 84.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.473e-05/5.354, allocations: 42.86 kB / 2.223 GB, free: 84.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007608/5.354, allocations: 0.8821 MB / 2.223 GB, free: 83.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/5.355, allocations: 241.3 kB / 2.224 GB, free: 83.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.866e-05/5.355, allocations: 18.97 kB / 2.224 GB, free: 83.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.5e-05/5.355, allocations: 345.3 kB / 2.224 GB, free: 83.42 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006566/5.355, allocations: 327.4 kB / 2.224 GB, free: 83.42 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008243/5.356, allocations: 0.693 MB / 2.225 GB, free: 82.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007867/5.357, allocations: 449.1 kB / 2.225 GB, free: 82.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/5.357, allocations: 6.188 kB / 2.225 GB, free: 82.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002156/5.359, allocations: 1.184 MB / 2.227 GB, free: 82.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008783/5.36, allocations: 3.818 MB / 2.23 GB, free: 78.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/5.36, allocations: 7.875 kB / 2.23 GB, free: 78.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.215e-05/5.36, allocations: 19.59 kB / 2.23 GB, free: 78.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008699/5.361, allocations: 237.3 kB / 2.231 GB, free: 78.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/5.361, allocations: 24.2 kB / 2.231 GB, free: 78.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/5.363, allocations: 129 kB / 2.231 GB, free: 78.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/5.363, allocations: 55.33 kB / 2.231 GB, free: 78.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/5.363, allocations: 7.453 kB / 2.231 GB, free: 78.76 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001822/5.365, allocations: 1.009 MB / 2.232 GB, free: 78.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/5.365, allocations: 10.44 kB / 2.232 GB, free: 78.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/5.365, allocations: 17.25 kB / 2.232 GB, free: 78.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008237/5.366, allocations: 238 kB / 2.232 GB, free: 78.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/5.366, allocations: 25.33 kB / 2.232 GB, free: 78.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/5.367, allocations: 129.7 kB / 2.232 GB, free: 78.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.904e-05/5.367, allocations: 48.92 kB / 2.232 GB, free: 78.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (120): * Single equations (assignments): 118 * 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.001064/5.368, allocations: 0.4899 MB / 2.233 GB, free: 78.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/5.368, allocations: 163.2 kB / 2.233 GB, free: 78.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/5.371, allocations: 1.079 MB / 2.234 GB, free: 78.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/5.371, allocations: 10.25 kB / 2.234 GB, free: 78.32 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/5.371, allocations: 0 / 2.234 GB, free: 78.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001325/5.372, allocations: 0.7748 MB / 2.235 GB, free: 78.23 MB / 0.698 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.004501/5.376, allocations: 2.513 MB / 2.237 GB, free: 77.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/5.376, allocations: 3.625 kB / 2.237 GB, free: 77.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006733/5.377, allocations: 161.1 kB / 2.237 GB, free: 77.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001793/5.377, allocations: 25.97 kB / 2.237 GB, free: 77.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/5.377, allocations: 24.55 kB / 2.237 GB, free: 77.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000813/5.378, allocations: 1.324 MB / 2.239 GB, free: 76.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/5.378, allocations: 3.719 kB / 2.239 GB, free: 76.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/5.381, allocations: 1.692 MB / 2.24 GB, free: 76 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008286/5.382, allocations: 360.3 kB / 2.241 GB, free: 75.81 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/5.382, allocations: 17.53 kB / 2.241 GB, free: 75.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/5.383, allocations: 114.2 kB / 2.241 GB, free: 75.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/5.383, allocations: 68.64 kB / 2.241 GB, free: 75.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.377e-05/5.383, allocations: 36.83 kB / 2.241 GB, free: 75.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001542/5.385, allocations: 1.076 MB / 2.242 GB, free: 75.65 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.21e-07/5.385, allocations: 0 / 2.242 GB, free: 75.65 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003565/5.388, allocations: 1.064 MB / 2.243 GB, free: 75.49 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (79): * Single equations (assignments): 71 * 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.002291/5.391, allocations: 1.138 MB / 2.244 GB, free: 75.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002857/5.393, allocations: 1.49 MB / 2.246 GB, free: 75.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/5.393, allocations: 3.125 kB / 2.246 GB, free: 75.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000972/5.394, allocations: 0.544 MB / 2.246 GB, free: 74.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003984/5.398, allocations: 0.8461 MB / 2.247 GB, free: 74.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005749/5.404, allocations: 3.806 MB / 2.251 GB, free: 73.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/5.405, allocations: 1.443 MB / 2.252 GB, free: 72.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002547/5.408, allocations: 440.1 kB / 2.252 GB, free: 72.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005686/5.408, allocations: 143.1 kB / 2.253 GB, free: 72.41 MB / 0.698 GB Notification: Performance of SimCode: time 1.372e-06/5.408, allocations: 0 / 2.253 GB, free: 72.41 MB / 0.698 GB Notification: Performance of Templates: time 0.06398/5.472, allocations: 38.18 MB / 2.29 GB, free: 67.08 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)