Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.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.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example") translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7578/0.7578, allocations: 130.7 MB / 138.7 MB, free: 3.637 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.497/1.497, allocations: 221.5 MB / 391.8 MB, free: 14.18 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.0009184/0.0009186, allocations: 98.39 kB / 473.9 MB, free: 4.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3e-05/3.002e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6979/0.698, allocations: 81.58 MB / 0.6282 GB, free: 42.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9741/1.672, allocations: 344.7 MB / 0.9648 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/1.673, allocations: 82.77 kB / 0.9649 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.899/3.572, allocations: 433.6 MB / 1.388 GB, free: 126 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.485e-06/3.572, allocations: 0 / 1.388 GB, free: 126 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002076/3.572, allocations: 35.92 kB / 1.388 GB, free: 126 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.003637/3.576, allocations: 1.301 MB / 1.39 GB, free: 125.3 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/3.576, allocations: 13.62 kB / 1.39 GB, free: 125.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001897/3.578, allocations: 336.7 kB / 1.39 GB, free: 125.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/3.58, allocations: 1.086 MB / 1.391 GB, free: 125 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.281e-05/3.581, allocations: 25.62 kB / 1.391 GB, free: 125 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002465/3.581, allocations: 47 kB / 1.391 GB, free: 125 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00138/3.582, allocations: 0.5533 MB / 1.392 GB, free: 125 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/3.584, allocations: 0.7868 MB / 1.392 GB, free: 124.8 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/3.584, allocations: 2.844 kB / 1.392 GB, free: 124.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.102e-05/3.584, allocations: 5.969 kB / 1.392 GB, free: 124.8 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/3.584, allocations: 19.34 kB / 1.392 GB, free: 124.8 MB / 0.6667 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.005606/3.59, allocations: 3.671 MB / 1.396 GB, free: 123 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005995/3.59, allocations: 408 kB / 1.396 GB, free: 123 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/3.59, allocations: 202.7 kB / 1.397 GB, free: 122.9 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008094/3.591, allocations: 0.9387 MB / 1.397 GB, free: 121.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005025/3.592, allocations: 312.1 kB / 1.398 GB, free: 121.8 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=47): time 3.306e-06/3.592, allocations: 0 / 1.398 GB, free: 121.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=47): time 0.002049/3.594, allocations: 0.6201 MB / 1.398 GB, free: 121.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/3.594, allocations: 110.6 kB / 1.398 GB, free: 121.6 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008979/3.595, allocations: 0.5884 MB / 1.399 GB, free: 121.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.448e-05/3.595, allocations: 28.92 kB / 1.399 GB, free: 121.5 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003872/3.595, allocations: 497 kB / 1.4 GB, free: 121.3 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/3.595, allocations: 152 kB / 1.4 GB, free: 121.2 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/3.595, allocations: 3.062 kB / 1.4 GB, free: 121.2 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.017e-05/3.596, allocations: 341.9 kB / 1.4 GB, free: 120.9 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/3.596, allocations: 174.6 kB / 1.4 GB, free: 120.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/3.596, allocations: 351.1 kB / 1.401 GB, free: 120.6 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/3.598, allocations: 366.5 kB / 1.401 GB, free: 120.6 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/3.598, allocations: 3.5 kB / 1.401 GB, free: 120.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001968/3.6, allocations: 0.746 MB / 1.402 GB, free: 120.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/3.6, allocations: 40.55 kB / 1.402 GB, free: 120.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/3.6, allocations: 7.844 kB / 1.402 GB, free: 120.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/3.6, allocations: 11.06 kB / 1.402 GB, free: 120.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009049/3.601, allocations: 203 kB / 1.402 GB, free: 120.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/3.601, allocations: 13.48 kB / 1.402 GB, free: 120.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/3.602, allocations: 128.4 kB / 1.402 GB, free: 120.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.311e-05/3.602, allocations: 33 kB / 1.402 GB, free: 120.5 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mDHW60C.T_start,mDHW60C.T_start,$PRE.mDHW60C.count,mDHW60C.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * 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.0001821/3.602, allocations: 132.5 kB / 1.402 GB, free: 120.4 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/3.602, allocations: 81.31 kB / 1.402 GB, free: 120.3 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/3.604, allocations: 0.916 MB / 1.403 GB, free: 120.3 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/3.604, allocations: 7.781 kB / 1.403 GB, free: 120.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/3.604, allocations: 0 / 1.403 GB, free: 120.3 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/3.604, allocations: 3.562 kB / 1.403 GB, free: 120.3 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003673/3.608, allocations: 1.879 MB / 1.405 GB, free: 119.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/3.608, allocations: 3.656 kB / 1.405 GB, free: 119.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008258/3.609, allocations: 170 kB / 1.405 GB, free: 119.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.535e-05/3.609, allocations: 3.938 kB / 1.405 GB, free: 119.7 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/3.609, allocations: 15.53 kB / 1.405 GB, free: 119.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/3.609, allocations: 3.188 kB / 1.405 GB, free: 119.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-06/3.609, allocations: 14.52 kB / 1.405 GB, free: 119.7 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003297/3.612, allocations: 1.231 MB / 1.406 GB, free: 119.3 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007184/3.613, allocations: 266 kB / 1.407 GB, free: 119.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002858/3.613, allocations: 6.312 kB / 1.407 GB, free: 119.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/3.615, allocations: 97.8 kB / 1.407 GB, free: 119.2 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/3.615, allocations: 57.84 kB / 1.407 GB, free: 119.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/3.615, allocations: 22.3 kB / 1.407 GB, free: 119.2 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001174/3.616, allocations: 476.6 kB / 1.407 GB, free: 119.1 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.61e-07/3.616, allocations: 0 / 1.407 GB, free: 119.1 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002257/3.619, allocations: 396.5 kB / 1.408 GB, free: 119 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (dHW_RealInput.THot.T,dHW_ProfileReader.THot.T) * Number of discrete variables: 3 ($whenCondition1,mDHW60C.T_start,mDHW60C.count) * Number of discrete states: 1 (mDHW60C.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002902/3.621, allocations: 0.8361 MB / 1.408 GB, free: 118.9 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001648/3.623, allocations: 0.5641 MB / 1.409 GB, free: 118.8 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/3.623, allocations: 0 / 1.409 GB, free: 118.8 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007726/3.624, allocations: 302.3 kB / 1.409 GB, free: 118.8 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003058/3.627, allocations: 316.1 kB / 1.41 GB, free: 118.8 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004404/3.631, allocations: 1.268 MB / 1.411 GB, free: 118.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000988/3.632, allocations: 1.057 MB / 1.412 GB, free: 117.6 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001649/3.634, allocations: 188.8 kB / 1.412 GB, free: 117.6 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/3.635, allocations: 85.42 kB / 1.412 GB, free: 117.6 MB / 0.6667 GB Notification: Performance of SimCode: time 1.943e-06/3.635, allocations: 2.906 kB / 1.412 GB, free: 117.6 MB / 0.6667 GB Notification: Performance of Templates: time 0.04087/3.676, allocations: 16.68 MB / 1.428 GB, free: 116.6 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.makefile (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.sim & ./IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1)