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.001134/0.001134, allocations: 174.8 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.8009/0.8009, allocations: 130.5 MB / 143.8 MB, free: 13.58 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.585/1.585, allocations: 221.3 MB / 396.8 MB, free: 9.168 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.0009917/0.0009918, allocations: 102.6 kB / 479 MB, free: 10.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.852e-05/3.856e-05, allocations: 2.969 kB / 0.5551 GB, free: 86.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1863, allocations: 81.58 MB / 0.6347 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.467/1.653, allocations: 345.4 MB / 0.972 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003816/1.654, allocations: 91.91 kB / 0.9721 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.404/3.058, allocations: 436.3 MB / 1.398 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.565e-06/3.058, allocations: 0 / 1.398 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001062/3.058, allocations: 27.12 kB / 1.398 GB, free: 117.4 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002489/3.06, allocations: 1.307 MB / 1.399 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/3.06, allocations: 8.031 kB / 1.399 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/3.062, allocations: 335.3 kB / 1.4 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/3.064, allocations: 1.08 MB / 1.401 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/3.064, allocations: 66 kB / 1.401 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/3.064, allocations: 77.38 kB / 1.401 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/3.065, allocations: 0.9005 MB / 1.402 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/3.065, allocations: 3.938 kB / 1.402 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/3.065, allocations: 32 kB / 1.402 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/3.065, allocations: 24.53 kB / 1.402 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009516/3.066, allocations: 0.6163 MB / 1.403 GB, free: 112.9 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.004328/3.071, allocations: 3.848 MB / 1.406 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005649/3.071, allocations: 428 kB / 1.407 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/3.072, allocations: 215.4 kB / 1.407 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007368/3.072, allocations: 0.9402 MB / 1.408 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004541/3.073, allocations: 331 kB / 1.408 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.546e-06/3.073, allocations: 0 / 1.408 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.0009275/3.074, allocations: 0.5157 MB / 1.409 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/3.074, allocations: 110.8 kB / 1.409 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008147/3.075, allocations: 0.7643 MB / 1.409 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.854e-05/3.075, allocations: 41.7 kB / 1.41 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/3.075, allocations: 479.7 kB / 1.41 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/3.075, allocations: 167.3 kB / 1.41 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/3.075, allocations: 8 kB / 1.41 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.779e-05/3.075, allocations: 333.9 kB / 1.41 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/3.075, allocations: 189.5 kB / 1.411 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/3.076, allocations: 369.6 kB / 1.411 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/3.076, allocations: 255.2 kB / 1.411 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/3.076, allocations: 3.938 kB / 1.411 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009507/3.077, allocations: 0.6993 MB / 1.412 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/3.077, allocations: 34.33 kB / 1.412 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/3.077, allocations: 4 kB / 1.412 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/3.077, allocations: 12 kB / 1.412 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008772/3.078, allocations: 207.7 kB / 1.412 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/3.078, allocations: 15.94 kB / 1.412 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009399/3.079, allocations: 155 kB / 1.412 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.458e-05/3.079, allocations: 35.98 kB / 1.412 GB, free: 102.3 MB / 0.6823 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.0001411/3.079, allocations: 148.5 kB / 1.413 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/3.079, allocations: 98.88 kB / 1.413 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/3.081, allocations: 0.8845 MB / 1.413 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/3.081, allocations: 8 kB / 1.413 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/3.081, allocations: 3.984 kB / 1.413 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/3.081, allocations: 0 / 1.413 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/3.083, allocations: 1.939 MB / 1.415 GB, free: 99.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/3.083, allocations: 0 / 1.415 GB, free: 99.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007707/3.084, allocations: 171.9 kB / 1.416 GB, free: 98.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/3.084, allocations: 7.953 kB / 1.416 GB, free: 98.95 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.289e-05/3.084, allocations: 19.98 kB / 1.416 GB, free: 98.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/3.084, allocations: 0 / 1.416 GB, free: 98.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/3.084, allocations: 4 kB / 1.416 GB, free: 98.93 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/3.085, allocations: 1.224 MB / 1.417 GB, free: 97.64 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003598/3.086, allocations: 287.5 kB / 1.417 GB, free: 97.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/3.086, allocations: 12 kB / 1.417 GB, free: 97.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000828/3.087, allocations: 115.9 kB / 1.417 GB, free: 97.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/3.087, allocations: 48.36 kB / 1.417 GB, free: 97.17 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.615e-05/3.087, allocations: 31.92 kB / 1.417 GB, free: 97.14 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006928/3.088, allocations: 0.6069 MB / 1.418 GB, free: 96.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/3.088, allocations: 0 / 1.418 GB, free: 96.52 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001251/3.089, allocations: 399.4 kB / 1.418 GB, free: 96.12 MB / 0.6823 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.001671/3.091, allocations: 0.8709 MB / 1.419 GB, free: 95.38 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009301/3.091, allocations: 0.5872 MB / 1.42 GB, free: 94.79 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/3.092, allocations: 9.188 kB / 1.42 GB, free: 94.78 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004074/3.092, allocations: 310.7 kB / 1.42 GB, free: 94.48 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/3.094, allocations: 443.5 kB / 1.42 GB, free: 94.05 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/3.096, allocations: 1.314 MB / 1.422 GB, free: 92.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/3.097, allocations: 1.061 MB / 1.423 GB, free: 91.61 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008254/3.097, allocations: 199.3 kB / 1.423 GB, free: 91.42 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/3.098, allocations: 91.39 kB / 1.423 GB, free: 91.33 MB / 0.6823 GB Notification: Performance of SimCode: time 7.61e-07/3.098, allocations: 0 / 1.423 GB, free: 91.33 MB / 0.6823 GB Notification: Performance of Templates: time 0.03357/3.131, allocations: 22.43 MB / 1.445 GB, free: 69.22 MB / 0.6823 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)