Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001458/0.001458, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7247/0.7247, allocations: 130.6 MB / 143.8 MB, free: 13.57 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.898/1.898, allocations: 221.3 MB / 396.8 MB, free: 9.184 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009479/0.0009482, allocations: 113.8 kB / 479 MB, free: 10.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.039e-05/4.041e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2172, allocations: 81.59 MB / 0.6348 GB, free: 12.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.333/1.551, allocations: 407.9 MB / 1.033 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/1.551, allocations: 91.95 kB / 1.033 GB, free: 224 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.227/5.778, allocations: 1.149 GB / 2.182 GB, free: 95.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.413e-06/5.778, allocations: 2.188 kB / 2.182 GB, free: 95.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002326/5.778, allocations: 59.81 kB / 2.182 GB, free: 95.23 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.004668/5.782, allocations: 2.126 MB / 2.184 GB, free: 94.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/5.783, allocations: 13.03 kB / 2.184 GB, free: 94.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/5.784, allocations: 371.5 kB / 2.185 GB, free: 93.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005739/5.79, allocations: 2.451 MB / 2.187 GB, free: 93.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.835e-05/5.79, allocations: 94.41 kB / 2.187 GB, free: 93.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002397/5.79, allocations: 135 kB / 2.187 GB, free: 93.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/5.792, allocations: 1.324 MB / 2.189 GB, free: 93.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.371e-05/5.793, allocations: 11.39 kB / 2.189 GB, free: 93.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/5.793, allocations: 51.78 kB / 2.189 GB, free: 93.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-05/5.793, allocations: 45.84 kB / 2.189 GB, free: 93.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/5.794, allocations: 0.9192 MB / 2.19 GB, free: 93.18 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.008517/5.803, allocations: 7.196 MB / 2.197 GB, free: 89.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/5.804, allocations: 1.168 MB / 2.198 GB, free: 88.55 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/5.804, allocations: 376.9 kB / 2.198 GB, free: 88.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004263/5.809, allocations: 2.605 MB / 2.201 GB, free: 87.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005736/5.809, allocations: 416.2 kB / 2.201 GB, free: 87.11 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006965/5.81, allocations: 91.81 kB / 2.201 GB, free: 87.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=66): time 2.996e-06/5.81, allocations: 0 / 2.201 GB, free: 87.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=66): time 0.001181/5.811, allocations: 0.7215 MB / 2.202 GB, free: 86.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/5.811, allocations: 171.4 kB / 2.202 GB, free: 86.74 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/5.813, allocations: 1.276 MB / 2.203 GB, free: 86.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.98e-05/5.813, allocations: 43.77 kB / 2.203 GB, free: 86.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006242/5.814, allocations: 0.8979 MB / 2.204 GB, free: 86.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/5.814, allocations: 230.8 kB / 2.204 GB, free: 86.08 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/5.814, allocations: 18.28 kB / 2.204 GB, free: 86.08 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.019e-05/5.814, allocations: 349.4 kB / 2.205 GB, free: 85.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004057/5.814, allocations: 265 kB / 2.205 GB, free: 85.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005644/5.815, allocations: 0.6436 MB / 2.206 GB, free: 85.31 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005465/5.815, allocations: 401 kB / 2.206 GB, free: 85.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/5.815, allocations: 0 / 2.206 GB, free: 85.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001525/5.817, allocations: 1.064 MB / 2.207 GB, free: 84.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007415/5.818, allocations: 4.004 MB / 2.211 GB, free: 80.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/5.818, allocations: 11.03 kB / 2.211 GB, free: 80.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.971e-05/5.818, allocations: 14.22 kB / 2.211 GB, free: 80.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008775/5.819, allocations: 241.6 kB / 2.211 GB, free: 80.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-05/5.819, allocations: 23.59 kB / 2.211 GB, free: 80.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/5.82, allocations: 112 kB / 2.211 GB, free: 80.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.225e-05/5.82, allocations: 59.17 kB / 2.211 GB, free: 80.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/5.82, allocations: 3.031 kB / 2.211 GB, free: 80.46 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001262/5.821, allocations: 0.896 MB / 2.212 GB, free: 80.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/5.821, allocations: 11.31 kB / 2.212 GB, free: 80.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/5.821, allocations: 19.19 kB / 2.212 GB, free: 80.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007701/5.822, allocations: 236.8 kB / 2.213 GB, free: 80.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/5.822, allocations: 23.12 kB / 2.213 GB, free: 80.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/5.823, allocations: 111.3 kB / 2.213 GB, free: 80.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.098e-05/5.823, allocations: 51.05 kB / 2.213 GB, free: 80.05 MB / 0.698 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 () * 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.0002367/5.824, allocations: 179.7 kB / 2.213 GB, free: 79.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/5.824, allocations: 164.2 kB / 2.213 GB, free: 79.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/5.826, allocations: 0.9494 MB / 2.214 GB, free: 79.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/5.826, allocations: 10.09 kB / 2.214 GB, free: 79.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/5.826, allocations: 3.797 kB / 2.214 GB, free: 79.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009134/5.827, allocations: 0.6491 MB / 2.215 GB, free: 79.16 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.004497/5.831, allocations: 2.522 MB / 2.217 GB, free: 77.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/5.831, allocations: 3.594 kB / 2.217 GB, free: 77.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006591/5.832, allocations: 152.5 kB / 2.217 GB, free: 77.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001767/5.832, allocations: 29.77 kB / 2.217 GB, free: 77.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.468e-05/5.832, allocations: 24.69 kB / 2.217 GB, free: 77.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007905/5.833, allocations: 1.308 MB / 2.219 GB, free: 76.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/5.833, allocations: 3.781 kB / 2.219 GB, free: 76.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/5.835, allocations: 1.498 MB / 2.22 GB, free: 75.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008969/5.836, allocations: 361 kB / 2.22 GB, free: 75.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005025/5.836, allocations: 19.91 kB / 2.22 GB, free: 75.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/5.838, allocations: 114.7 kB / 2.22 GB, free: 75.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/5.838, allocations: 63.84 kB / 2.221 GB, free: 75.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.249e-05/5.838, allocations: 38.41 kB / 2.221 GB, free: 75.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002188/5.84, allocations: 1.06 MB / 2.222 GB, free: 74.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.91e-07/5.84, allocations: 0 / 2.222 GB, free: 74.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004808/5.845, allocations: 1.064 MB / 2.223 GB, free: 74.61 MB / 0.698 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) * 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.003238/5.848, allocations: 1.138 MB / 2.224 GB, free: 74.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002698/5.851, allocations: 1.373 MB / 2.225 GB, free: 73.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/5.851, allocations: 0 / 2.225 GB, free: 73.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009125/5.852, allocations: 491 kB / 2.226 GB, free: 73.45 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00433/5.856, allocations: 0.8474 MB / 2.226 GB, free: 73.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005041/5.861, allocations: 2.407 MB / 2.229 GB, free: 72.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/5.862, allocations: 1.443 MB / 2.23 GB, free: 71.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002903/5.865, allocations: 0.5627 MB / 2.231 GB, free: 71.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/5.866, allocations: 117.1 kB / 2.231 GB, free: 71.29 MB / 0.698 GB Notification: Performance of SimCode: time 1.322e-06/5.866, allocations: 4 kB / 2.231 GB, free: 71.29 MB / 0.698 GB Notification: Performance of Templates: time 0.06702/5.933, allocations: 42.56 MB / 2.272 GB, free: 35.87 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)