Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example") translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.01103/0.01103, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7805/0.7805, 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.484/1.484, allocations: 223.2 MB / 406.9 MB, free: 3.207 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.0009513/0.0009515, allocations: 101.6 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003658, allocations: 12 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4792/0.4796, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8651/1.345, allocations: 345.7 MB / 0.987 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/1.345, allocations: 95.69 kB / 0.9871 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.692/3.037, allocations: 438.2 MB / 1.415 GB, free: 141 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.154e-06/3.037, allocations: 0 / 1.415 GB, free: 141 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001192/3.037, allocations: 28.91 kB / 1.415 GB, free: 141 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.003032/3.04, allocations: 1.469 MB / 1.417 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/3.041, allocations: 8.188 kB / 1.417 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/3.042, allocations: 334.9 kB / 1.417 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/3.044, allocations: 1.099 MB / 1.418 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.065e-05/3.044, allocations: 61.09 kB / 1.418 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/3.044, allocations: 76.31 kB / 1.418 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/3.046, allocations: 1.039 MB / 1.419 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/3.046, allocations: 1.844 kB / 1.419 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.041e-05/3.046, allocations: 30.22 kB / 1.419 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/3.046, allocations: 20.69 kB / 1.419 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/3.048, allocations: 0.8788 MB / 1.42 GB, free: 139.7 MB / 0.6823 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.004897/3.053, allocations: 3.853 MB / 1.424 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/3.055, allocations: 0.6342 MB / 1.424 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000801/3.056, allocations: 0.9381 MB / 1.425 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009451/3.057, allocations: 436.7 kB / 1.426 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.016e-06/3.057, allocations: 0 / 1.426 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.002741/3.059, allocations: 1.012 MB / 1.427 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/3.059, allocations: 117.5 kB / 1.427 GB, free: 136 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/3.06, allocations: 0.7727 MB / 1.428 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.902e-05/3.061, allocations: 40.36 kB / 1.428 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/3.061, allocations: 481.3 kB / 1.428 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/3.061, allocations: 169.1 kB / 1.428 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/3.061, allocations: 8 kB / 1.428 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.427e-05/3.061, allocations: 332.5 kB / 1.429 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007767/3.062, allocations: 298.3 kB / 1.429 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008198/3.063, allocations: 490.3 kB / 1.429 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007993/3.064, allocations: 367.2 kB / 1.43 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/3.064, allocations: 0 / 1.43 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002081/3.066, allocations: 0.9189 MB / 1.431 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/3.066, allocations: 39.45 kB / 1.431 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/3.066, allocations: 3.531 kB / 1.431 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/3.066, allocations: 7.375 kB / 1.431 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009349/3.067, allocations: 206.8 kB / 1.431 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/3.067, allocations: 11.84 kB / 1.431 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/3.068, allocations: 158.9 kB / 1.431 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.675e-05/3.068, allocations: 37.42 kB / 1.431 GB, free: 133.8 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 () * Number of clocked 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.0005329/3.069, allocations: 271.6 kB / 1.431 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/3.069, allocations: 96.41 kB / 1.431 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/3.071, allocations: 1.108 MB / 1.432 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/3.071, allocations: 7.281 kB / 1.432 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/3.071, allocations: 3.5 kB / 1.432 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/3.071, allocations: 6.219 kB / 1.432 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/3.075, allocations: 2.161 MB / 1.435 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/3.075, allocations: 0 / 1.435 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007986/3.075, allocations: 172.7 kB / 1.435 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/3.076, allocations: 7.5 kB / 1.435 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.214e-05/3.076, allocations: 19.42 kB / 1.435 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/3.076, allocations: 10.95 kB / 1.435 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/3.076, allocations: 0 / 1.435 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002801/3.078, allocations: 1.554 MB / 1.436 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005368/3.079, allocations: 284.8 kB / 1.437 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/3.079, allocations: 17.25 kB / 1.437 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009691/3.08, allocations: 109.6 kB / 1.437 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/3.08, allocations: 51.86 kB / 1.437 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.24e-05/3.08, allocations: 27.39 kB / 1.437 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009528/3.081, allocations: 0.6213 MB / 1.437 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/3.081, allocations: 0 / 1.437 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001507/3.083, allocations: 397.7 kB / 1.438 GB, free: 130.7 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) * Number of clocked states: 0 () * 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.001946/3.085, allocations: 0.9088 MB / 1.439 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001993/3.087, allocations: 0.8138 MB / 1.439 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/3.087, allocations: 0 / 1.439 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009389/3.088, allocations: 431.3 kB / 1.44 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/3.09, allocations: 438.6 kB / 1.44 GB, free: 130 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008656/3.099, allocations: 2.899 MB / 1.443 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006418/3.099, allocations: 1.06 MB / 1.444 GB, free: 128 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001165/3.101, allocations: 196.9 kB / 1.444 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/3.101, allocations: 100.1 kB / 1.444 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.022e-06/3.101, allocations: 0 / 1.444 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.03485/3.136, allocations: 21.83 MB / 1.466 GB, free: 110.7 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.sim & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1)