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.002104/0.002103, allocations: 175.7 kB / 7.648 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7782/0.7782, allocations: 130.7 MB / 138.7 MB, free: 3.582 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 221.5 MB / 391.8 MB, free: 14.22 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.0008583/0.0008583, allocations: 102.2 kB / 473.9 MB, free: 4.453 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.076e-05/2.078e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5536/0.5536, allocations: 81.56 MB / 0.6282 GB, free: 42.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.945/1.499, allocations: 407.3 MB / 1.026 GB, free: 2.117 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/1.499, allocations: 90.5 kB / 1.026 GB, free: 2.074 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.908/6.407, allocations: 1.143 GB / 2.169 GB, free: 85.43 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.914e-06/6.407, allocations: 0 / 2.169 GB, free: 85.43 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003955/6.407, allocations: 60.86 kB / 2.169 GB, free: 85.43 MB / 0.6823 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.00686/6.414, allocations: 2.125 MB / 2.172 GB, free: 84.44 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/6.414, allocations: 9.125 kB / 2.172 GB, free: 84.44 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003168/6.417, allocations: 373.1 kB / 2.172 GB, free: 84.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/6.429, allocations: 2.454 MB / 2.174 GB, free: 83.86 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000224/6.429, allocations: 37.75 kB / 2.174 GB, free: 83.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009911/6.43, allocations: 87.47 kB / 2.174 GB, free: 83.85 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003659/6.434, allocations: 0.8592 MB / 2.175 GB, free: 83.84 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004065/6.438, allocations: 1.154 MB / 2.176 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.369e-05/6.438, allocations: 0 / 2.176 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/6.438, allocations: 3.719 kB / 2.176 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-05/6.438, allocations: 45.34 kB / 2.176 GB, free: 83.59 MB / 0.6823 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.01306/6.451, allocations: 6.983 MB / 2.183 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/6.453, allocations: 1.165 MB / 2.184 GB, free: 79.03 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006549/6.453, allocations: 366.8 kB / 2.185 GB, free: 79.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005708/6.459, allocations: 2.572 MB / 2.187 GB, free: 77.64 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006007/6.46, allocations: 403.6 kB / 2.188 GB, free: 77.56 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000969/6.461, allocations: 78.34 kB / 2.188 GB, free: 77.53 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 4.719e-06/6.461, allocations: 0 / 2.188 GB, free: 77.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.002283/6.463, allocations: 0.782 MB / 2.188 GB, free: 77.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/6.463, allocations: 169 kB / 2.189 GB, free: 77.21 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002249/6.465, allocations: 1.184 MB / 2.19 GB, free: 77.05 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001083/6.465, allocations: 25.7 kB / 2.19 GB, free: 77.02 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008851/6.466, allocations: 0.8999 MB / 2.191 GB, free: 76.69 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/6.467, allocations: 225.7 kB / 2.191 GB, free: 76.54 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/6.467, allocations: 0 / 2.191 GB, free: 76.54 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.762e-05/6.467, allocations: 344.6 kB / 2.191 GB, free: 76.24 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003929/6.467, allocations: 255.5 kB / 2.191 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005724/6.468, allocations: 0.6325 MB / 2.192 GB, free: 75.78 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/6.469, allocations: 445 kB / 2.193 GB, free: 75.77 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/6.469, allocations: 2.875 kB / 2.193 GB, free: 75.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002512/6.472, allocations: 1.066 MB / 2.194 GB, free: 75.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001014/6.473, allocations: 3.991 MB / 2.197 GB, free: 71.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.473e-05/6.473, allocations: 7.844 kB / 2.197 GB, free: 71.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.222e-05/6.473, allocations: 17.97 kB / 2.197 GB, free: 71.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000891/6.474, allocations: 237.4 kB / 2.198 GB, free: 71.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.88e-05/6.474, allocations: 27.84 kB / 2.198 GB, free: 71.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/6.475, allocations: 95.89 kB / 2.198 GB, free: 71.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/6.475, allocations: 55.33 kB / 2.198 GB, free: 71.42 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/6.475, allocations: 7.906 kB / 2.198 GB, free: 71.42 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001909/6.477, allocations: 0.8403 MB / 2.199 GB, free: 71.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/6.477, allocations: 11.12 kB / 2.199 GB, free: 71.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/6.477, allocations: 16.5 kB / 2.199 GB, free: 71.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000818/6.478, allocations: 234.5 kB / 2.199 GB, free: 71.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-05/6.478, allocations: 27.33 kB / 2.199 GB, free: 71.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/6.48, allocations: 93.81 kB / 2.199 GB, free: 71.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/6.48, allocations: 49.06 kB / 2.199 GB, free: 71.39 MB / 0.6823 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.0003071/6.48, allocations: 142.4 kB / 2.199 GB, free: 71.27 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004399/6.481, allocations: 167.2 kB / 2.199 GB, free: 71.19 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/6.483, allocations: 0.9395 MB / 2.2 GB, free: 71.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/6.483, allocations: 6.688 kB / 2.2 GB, free: 71.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/6.483, allocations: 3.688 kB / 2.2 GB, free: 71.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001292/6.484, allocations: 0.6626 MB / 2.201 GB, free: 71.01 MB / 0.6823 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.005377/6.49, allocations: 2.338 MB / 2.203 GB, free: 70.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/6.49, allocations: 7.859 kB / 2.203 GB, free: 70.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007136/6.49, allocations: 154.8 kB / 2.203 GB, free: 70.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002203/6.491, allocations: 29.64 kB / 2.203 GB, free: 70.48 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-05/6.491, allocations: 12.88 kB / 2.203 GB, free: 70.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009194/6.492, allocations: 1.275 MB / 2.205 GB, free: 69.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/6.492, allocations: 12.09 kB / 2.205 GB, free: 69.29 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002575/6.494, allocations: 1.472 MB / 2.206 GB, free: 68.83 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/6.495, allocations: 343.8 kB / 2.206 GB, free: 68.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000504/6.496, allocations: 11.05 kB / 2.207 GB, free: 68.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/6.497, allocations: 79.55 kB / 2.207 GB, free: 68.64 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/6.497, allocations: 63.97 kB / 2.207 GB, free: 68.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/6.498, allocations: 39.98 kB / 2.207 GB, free: 68.63 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002286/6.5, allocations: 0.8852 MB / 2.208 GB, free: 68.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.51e-07/6.5, allocations: 5.969 kB / 2.208 GB, free: 68.52 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0063/6.506, allocations: 1.05 MB / 2.209 GB, free: 68.34 MB / 0.6823 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.003468/6.51, allocations: 1.088 MB / 2.21 GB, free: 68.07 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003002/6.513, allocations: 1.293 MB / 2.211 GB, free: 67.91 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/6.513, allocations: 4.969 kB / 2.211 GB, free: 67.91 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009762/6.514, allocations: 466.6 kB / 2.211 GB, free: 67.82 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004736/6.518, allocations: 0.7264 MB / 2.212 GB, free: 67.81 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006177/6.525, allocations: 2.339 MB / 2.214 GB, free: 67.09 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/6.526, allocations: 1.441 MB / 2.216 GB, free: 66.36 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003477/6.53, allocations: 0.5426 MB / 2.216 GB, free: 66.34 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/6.53, allocations: 106.1 kB / 2.216 GB, free: 66.33 MB / 0.6823 GB Notification: Performance of SimCode: time 1.623e-06/6.53, allocations: 0 / 2.216 GB, free: 66.33 MB / 0.6823 GB Notification: Performance of Templates: time 0.0645/6.595, allocations: 34.25 MB / 2.25 GB, free: 63.92 MB / 0.6823 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)