Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") [: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.001722/0.001722, allocations: 184.8 kB / 7.463 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.6009/0.6009, allocations: 133.5 MB / 141.4 MB, free: 15.76 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.129/1.129, allocations: 221.3 MB / 395 MB, free: 10.16 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.000909/0.000909, allocations: 103.7 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.932e-06/6.032e-06, allocations: 0 / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1106, allocations: 82.3 MB / 0.6332 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.724/0.8346, allocations: 385.6 MB / 1.01 GB, free: 248.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.8349, allocations: 104.4 kB / 1.01 GB, free: 248.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.7967/1.632, allocations: 368 MB / 1.369 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.58e-05/1.632, allocations: 27.44 kB / 1.369 GB, free: 144.2 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001755/1.633, allocations: 1.441 MB / 1.371 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/1.634, allocations: 8.406 kB / 1.371 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002682/1.634, allocations: 133.4 kB / 1.371 GB, free: 143 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/1.636, allocations: 1.188 MB / 1.372 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/1.636, allocations: 24.84 kB / 1.372 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.665e-05/1.636, allocations: 41.81 kB / 1.372 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009065/1.637, allocations: 0.537 MB / 1.373 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009623/1.638, allocations: 0.6994 MB / 1.373 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/1.638, allocations: 0 / 1.373 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.851e-05/1.638, allocations: 0 / 1.373 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/1.638, allocations: 15.62 kB / 1.373 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003306/1.641, allocations: 3.296 MB / 1.377 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/1.642, allocations: 407.6 kB / 1.377 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/1.642, allocations: 286.1 kB / 1.377 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005046/1.642, allocations: 0.7709 MB / 1.378 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/1.642, allocations: 33.88 kB / 1.378 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=37): time 1.503e-06/1.642, allocations: 3 kB / 1.378 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37): time 0.001028/1.643, allocations: 0.6582 MB / 1.379 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/1.643, allocations: 138.7 kB / 1.379 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009275/1.644, allocations: 0.8116 MB / 1.38 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/1.644, allocations: 28.11 kB / 1.38 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/1.645, allocations: 333.9 kB / 1.38 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.559e-05/1.645, allocations: 118.2 kB / 1.38 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/1.645, allocations: 5.625 kB / 1.38 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.755e-05/1.645, allocations: 329.6 kB / 1.38 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/1.645, allocations: 315.6 kB / 1.381 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004373/1.646, allocations: 426.1 kB / 1.381 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007592/1.646, allocations: 396.5 kB / 1.381 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.646, allocations: 1 kB / 1.381 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00145/1.648, allocations: 0.8768 MB / 1.382 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/1.648, allocations: 0.6974 MB / 1.383 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/1.648, allocations: 1.594 kB / 1.383 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/1.648, allocations: 4.188 kB / 1.383 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/1.648, allocations: 89.39 kB / 1.383 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/1.648, allocations: 3.562 kB / 1.383 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000518/1.649, allocations: 86.81 kB / 1.383 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/1.649, allocations: 23.44 kB / 1.383 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/1.649, allocations: 4.875 kB / 1.383 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001168/1.65, allocations: 0.771 MB / 1.384 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/1.65, allocations: 4 kB / 1.384 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-06/1.65, allocations: 4 kB / 1.384 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/1.651, allocations: 87.89 kB / 1.384 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/1.651, allocations: 6.75 kB / 1.384 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/1.651, allocations: 68.77 kB / 1.384 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.407e-05/1.651, allocations: 27.98 kB / 1.384 GB, free: 133.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 6 * 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.0001246/1.651, allocations: 216.7 kB / 1.384 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/1.651, allocations: 90.88 kB / 1.384 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/1.653, allocations: 0.7971 MB / 1.385 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/1.653, allocations: 8 kB / 1.385 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/1.653, allocations: 4 kB / 1.385 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009025/1.653, allocations: 0.8769 MB / 1.386 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/1.656, allocations: 1.889 MB / 1.388 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/1.656, allocations: 4 kB / 1.388 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/1.656, allocations: 71.19 kB / 1.388 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/1.656, allocations: 4 kB / 1.388 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/1.656, allocations: 11.98 kB / 1.388 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/1.656, allocations: 11.88 kB / 1.388 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.656, allocations: 0 / 1.388 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00139/1.657, allocations: 1.377 MB / 1.389 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002953/1.658, allocations: 286.7 kB / 1.39 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/1.658, allocations: 4 kB / 1.39 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/1.658, allocations: 50.02 kB / 1.39 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/1.658, allocations: 47.66 kB / 1.39 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/1.659, allocations: 20 kB / 1.39 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005629/1.659, allocations: 0.6204 MB / 1.39 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001226/1.66, allocations: 0.5767 MB / 1.391 GB, free: 126.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.watFlo_mod.i,con.mod.temDif_mod.i,con.mod.airFlo_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.0009112/1.661, allocations: 0.7222 MB / 1.392 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001132/1.662, allocations: 1.401 MB / 1.393 GB, free: 124 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.662, allocations: 0 / 1.393 GB, free: 124 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003897/1.663, allocations: 461.1 kB / 1.393 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/1.664, allocations: 386.4 kB / 1.394 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/1.666, allocations: 1.493 MB / 1.395 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005478/1.667, allocations: 1.172 MB / 1.396 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of SimCode: time 3.1e-07/1.667, allocations: 3.062 kB / 1.396 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.02742/1.694, allocations: 22.85 MB / 1.419 GB, free: 98.52 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)