Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.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.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample") translateModel(IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample") [: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.003542/0.003542, allocations: 185.4 kB / 7.455 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7097/0.7097, allocations: 130.6 MB / 138.5 MB, free: 2.176 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.737/1.737, allocations: 221.3 MB / 391.4 MB, free: 12.98 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.001199/0.001199, allocations: 90.41 kB / 473.4 MB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.057e-05/1.059e-05, allocations: 0 / 0.5479 GB, free: 88.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1925, allocations: 81.58 MB / 0.6276 GB, free: 17.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.275/1.468, allocations: 411.2 MB / 1.029 GB, free: 201.4 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/1.468, allocations: 98.94 kB / 1.029 GB, free: 201.3 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.187/2.655, allocations: 392.6 MB / 1.413 GB, free: 68.23 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002961/2.656, allocations: 39.53 kB / 1.413 GB, free: 68.19 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004842/2.661, allocations: 1.524 MB / 1.414 GB, free: 66.62 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/2.661, allocations: 8.031 kB / 1.414 GB, free: 66.62 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/2.662, allocations: 166.2 kB / 1.414 GB, free: 66.45 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02816/2.69, allocations: 10.57 MB / 1.425 GB, free: 55.92 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.036e-05/2.69, allocations: 35.84 kB / 1.425 GB, free: 55.88 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004686/2.691, allocations: 52 kB / 1.425 GB, free: 55.83 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00234/2.693, allocations: 0.7848 MB / 1.425 GB, free: 55.05 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/2.695, allocations: 0.9951 MB / 1.426 GB, free: 54 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.294e-05/2.695, allocations: 0 / 1.426 GB, free: 54 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/2.696, allocations: 4 kB / 1.426 GB, free: 54 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.604e-05/2.696, allocations: 37.94 kB / 1.426 GB, free: 53.96 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008933/2.705, allocations: 5.123 MB / 1.431 GB, free: 48.55 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/2.706, allocations: 0.6598 MB / 1.432 GB, free: 47.88 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/2.707, allocations: 306.6 kB / 1.432 GB, free: 47.58 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/2.708, allocations: 1.427 MB / 1.434 GB, free: 45.84 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005786/2.708, allocations: 381.1 kB / 1.434 GB, free: 45.46 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=60): time 3.927e-06/2.708, allocations: 0 / 1.434 GB, free: 45.46 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60): time 0.002201/2.711, allocations: 0.7884 MB / 1.435 GB, free: 44.66 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/2.711, allocations: 59.91 kB / 1.435 GB, free: 44.59 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/2.712, allocations: 0.8344 MB / 1.436 GB, free: 43.74 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001214/2.712, allocations: 25.7 kB / 1.436 GB, free: 43.71 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004305/2.713, allocations: 407.2 kB / 1.436 GB, free: 43.3 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/2.713, allocations: 197.1 kB / 1.436 GB, free: 43.11 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/2.713, allocations: 0 / 1.436 GB, free: 43.11 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.438e-05/2.713, allocations: 338 kB / 1.437 GB, free: 42.77 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000355/2.713, allocations: 257.4 kB / 1.437 GB, free: 42.52 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004391/2.714, allocations: 444.5 kB / 1.437 GB, free: 42.01 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008838/2.715, allocations: 390.8 kB / 1.438 GB, free: 41.62 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/2.715, allocations: 8 kB / 1.438 GB, free: 41.62 MB / 0.6667 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001986/2.717, allocations: 0.9371 MB / 1.439 GB, free: 40.66 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003726/2.717, allocations: 1.66 MB / 1.44 GB, free: 38.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/2.717, allocations: 8.094 kB / 1.44 GB, free: 38.87 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000487/2.718, allocations: 129.6 kB / 1.44 GB, free: 38.74 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006751/2.718, allocations: 163.8 kB / 1.441 GB, free: 38.58 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/2.721, allocations: 3.019 MB / 1.444 GB, free: 35.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/2.722, allocations: 107.4 kB / 1.444 GB, free: 35.21 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/2.722, allocations: 31.98 kB / 1.444 GB, free: 35.18 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/2.722, allocations: 4 kB / 1.444 GB, free: 35.18 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00173/2.724, allocations: 0.8117 MB / 1.445 GB, free: 34.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/2.724, allocations: 4 kB / 1.445 GB, free: 34.36 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003849/2.724, allocations: 130.4 kB / 1.445 GB, free: 34.23 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006313/2.725, allocations: 163.8 kB / 1.445 GB, free: 34.07 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/2.727, allocations: 3.011 MB / 1.448 GB, free: 30.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/2.728, allocations: 103.5 kB / 1.448 GB, free: 30.71 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/2.728, allocations: 31.98 kB / 1.448 GB, free: 30.68 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002804/2.729, allocations: 129.8 kB / 1.448 GB, free: 30.55 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000387/2.729, allocations: 106.7 kB / 1.448 GB, free: 30.45 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/2.732, allocations: 1.014 MB / 1.449 GB, free: 29.41 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/2.732, allocations: 8 kB / 1.449 GB, free: 29.41 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/2.732, allocations: 0 / 1.449 GB, free: 29.41 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001374/2.733, allocations: 0.8321 MB / 1.45 GB, free: 28.54 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004337/2.737, allocations: 2.01 MB / 1.452 GB, free: 26.47 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/2.737, allocations: 0 / 1.452 GB, free: 26.47 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006082/2.738, allocations: 123.9 kB / 1.452 GB, free: 26.35 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003595/2.738, allocations: 109.6 kB / 1.452 GB, free: 26.24 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.766e-05/2.738, allocations: 23.91 kB / 1.452 GB, free: 26.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/2.74, allocations: 2.829 MB / 1.455 GB, free: 23.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/2.741, allocations: 4 kB / 1.455 GB, free: 23.16 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0023/2.743, allocations: 1.394 MB / 1.456 GB, free: 21.72 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008334/2.744, allocations: 291.5 kB / 1.457 GB, free: 21.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004139/2.744, allocations: 7.984 kB / 1.457 GB, free: 21.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/2.745, allocations: 83.77 kB / 1.457 GB, free: 21.32 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/2.745, allocations: 44.58 kB / 1.457 GB, free: 21.28 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/2.746, allocations: 27.98 kB / 1.457 GB, free: 21.25 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001326/2.747, allocations: 0.6584 MB / 1.457 GB, free: 20.59 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003207/2.75, allocations: 0.6702 MB / 1.458 GB, free: 19.91 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (embeddedPipe.vol[1].dynBal.U,embeddedPipe.vol[2].dynBal.U,senTem.T) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001468/2.752, allocations: 0.5134 MB / 1.458 GB, free: 19.43 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002563/2.754, allocations: 1.534 MB / 1.46 GB, free: 17.84 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/2.754, allocations: 0 / 1.46 GB, free: 17.84 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007339/2.755, allocations: 0.5563 MB / 1.461 GB, free: 17.27 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/2.758, allocations: 479.1 kB / 1.461 GB, free: 16.82 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/2.762, allocations: 1.998 MB / 1.463 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000933/2.763, allocations: 1.429 MB / 1.464 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of SimCode: time 1.182e-06/2.763, allocations: 0 / 1.464 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of Templates: time 0.3938/3.157, allocations: 27.13 MB / 1.491 GB, free: 183 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe 2>&1)