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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 183 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6041/0.6041, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.165/1.165, allocations: 221.3 MB / 395 MB, free: 10.2 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.0008002/0.0008, allocations: 93.41 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.701e-06/5.751e-06, allocations: 3.125 kB / 0.5528 GB, free: 88.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.539/0.6566, allocations: 344.9 MB / 0.97 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.6569, allocations: 89.81 kB / 0.9701 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.209/1.866, allocations: 438 MB / 1.398 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.708e-05/1.866, allocations: 30.66 kB / 1.398 GB, free: 118.9 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.001875/1.868, allocations: 1.34 MB / 1.399 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/1.868, allocations: 12.02 kB / 1.399 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/1.869, allocations: 374.3 kB / 1.4 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/1.871, allocations: 1.085 MB / 1.401 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/1.871, allocations: 24 kB / 1.401 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.525e-05/1.871, allocations: 55.09 kB / 1.401 GB, free: 116 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008951/1.872, allocations: 0.5585 MB / 1.401 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/1.873, allocations: 0.7874 MB / 1.402 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/1.873, allocations: 4 kB / 1.402 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.514e-05/1.873, allocations: 0 / 1.402 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/1.873, allocations: 23.38 kB / 1.402 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00399/1.877, allocations: 3.859 MB / 1.406 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003584/1.877, allocations: 282.4 kB / 1.406 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/1.877, allocations: 203.3 kB / 1.406 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006688/1.878, allocations: 0.9428 MB / 1.407 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003668/1.879, allocations: 302.2 kB / 1.408 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 2.174e-06/1.879, allocations: 0 / 1.408 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.001716/1.88, allocations: 0.6368 MB / 1.408 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/1.88, allocations: 114 kB / 1.408 GB, free: 108 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005834/1.881, allocations: 0.5863 MB / 1.409 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/1.881, allocations: 29.7 kB / 1.409 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/1.881, allocations: 371 kB / 1.409 GB, free: 107 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/1.881, allocations: 165.6 kB / 1.409 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/1.881, allocations: 0 / 1.409 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.52e-05/1.881, allocations: 330 kB / 1.41 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/1.882, allocations: 176.2 kB / 1.41 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/1.882, allocations: 362.2 kB / 1.41 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/1.883, allocations: 382.4 kB / 1.411 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/1.883, allocations: 0 / 1.411 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001711/1.885, allocations: 0.7697 MB / 1.411 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.885, allocations: 6.656 kB / 1.411 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/1.885, allocations: 7.906 kB / 1.411 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/1.885, allocations: 8 kB / 1.411 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009033/1.886, allocations: 214.2 kB / 1.412 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.886, allocations: 12.48 kB / 1.412 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008804/1.887, allocations: 137.6 kB / 1.412 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.877e-05/1.887, allocations: 40.95 kB / 1.412 GB, free: 104.4 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.0001164/1.887, allocations: 123 kB / 1.412 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.35e-05/1.887, allocations: 82.97 kB / 1.412 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/1.889, allocations: 1.034 MB / 1.413 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/1.889, allocations: 7.984 kB / 1.413 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.889, allocations: 7.938 kB / 1.413 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/1.889, allocations: 3.906 kB / 1.413 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/1.891, allocations: 1.881 MB / 1.415 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.891, allocations: 3.938 kB / 1.415 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008006/1.892, allocations: 177.5 kB / 1.415 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/1.892, allocations: 4 kB / 1.415 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.387e-05/1.892, allocations: 19.2 kB / 1.415 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/1.892, allocations: 7.938 kB / 1.415 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.892, allocations: 3.984 kB / 1.415 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001636/1.894, allocations: 1.261 MB / 1.416 GB, free: 99.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002935/1.894, allocations: 270.9 kB / 1.416 GB, free: 99.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/1.894, allocations: 4 kB / 1.416 GB, free: 99.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008471/1.895, allocations: 109.7 kB / 1.417 GB, free: 99.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.895, allocations: 52.3 kB / 1.417 GB, free: 99.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.454e-05/1.895, allocations: 23.98 kB / 1.417 GB, free: 99.22 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004537/1.896, allocations: 478.5 kB / 1.417 GB, free: 98.77 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001078/1.897, allocations: 399.1 kB / 1.417 GB, free: 98.38 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.001234/1.898, allocations: 0.8081 MB / 1.418 GB, free: 97.76 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007385/1.899, allocations: 0.5398 MB / 1.419 GB, free: 97.21 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.899, allocations: 0 / 1.419 GB, free: 97.21 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003824/1.899, allocations: 312.7 kB / 1.419 GB, free: 96.91 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/1.901, allocations: 314.1 kB / 1.419 GB, free: 96.63 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/1.903, allocations: 1.284 MB / 1.421 GB, free: 95.39 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006807/1.904, allocations: 1.173 MB / 1.422 GB, free: 94.18 MB / 0.6823 GB Notification: Performance of SimCode: time 2.8e-07/1.904, allocations: 0 / 1.422 GB, free: 94.18 MB / 0.6823 GB Notification: Performance of Templates: time 0.02311/1.927, allocations: 17.82 MB / 1.439 GB, free: 76.85 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)