Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [: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.0009123/0.0009124, allocations: 184.5 kB / 7.462 MB, free: 488 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5901/0.5901, allocations: 133.5 MB / 141.4 MB, free: 3.719 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 221.3 MB / 395 MB, free: 14.12 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008016/0.0008017, allocations: 102.1 kB / 477.8 MB, free: 3.953 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 7.985e-06/8.015e-06, allocations: 2.25 kB / 0.5529 GB, free: 90.81 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, allocations: 82.29 MB / 0.6333 GB, free: 38.47 MB / 462.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1154/0.2346, allocations: 115 MB / 0.7455 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.2349, allocations: 111.9 kB / 0.7456 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.2293/0.4642, allocations: 5.909 MB / 0.7514 GB, free: 32.13 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.4643, allocations: 0 / 0.7514 GB, free: 32.13 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002317/0.4645, allocations: 395.9 kB / 0.7518 GB, free: 31.74 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.4645, allocations: 7.781 kB / 0.7518 GB, free: 31.74 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.646e-05/0.4646, allocations: 3.875 kB / 0.7518 GB, free: 31.74 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.086e-05/0.4646, allocations: 164.7 kB / 0.752 GB, free: 31.54 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.4647, allocations: 0 / 0.752 GB, free: 31.54 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.4647, allocations: 3.969 kB / 0.752 GB, free: 31.54 MB / 0.5294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.207e-05/0.4647, allocations: 16.73 kB / 0.752 GB, free: 31.54 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.708e-05/0.4648, allocations: 39.23 kB / 0.752 GB, free: 31.51 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.4648, allocations: 0 / 0.752 GB, free: 31.51 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.4648, allocations: 2.375 kB / 0.752 GB, free: 31.51 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.4648, allocations: 7.766 kB / 0.752 GB, free: 31.51 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.934e-05/0.4649, allocations: 137.3 kB / 0.7522 GB, free: 31.35 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.003e-05/0.465, allocations: 36.23 kB / 0.7522 GB, free: 31.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.388e-05/0.465, allocations: 14.11 kB / 0.7522 GB, free: 31.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000543/0.4656, allocations: 0.9819 MB / 0.7532 GB, free: 30.19 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.335e-05/0.4656, allocations: 34.41 kB / 0.7532 GB, free: 30.15 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.4656, allocations: 3.875 kB / 0.7532 GB, free: 30.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001523/0.4658, allocations: 52.42 kB / 0.7532 GB, free: 30.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.25e-05/0.4658, allocations: 56.25 kB / 0.7533 GB, free: 30.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.023e-05/0.4658, allocations: 95.41 kB / 0.7534 GB, free: 29.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.4659, allocations: 25.7 kB / 0.7534 GB, free: 29.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.568e-06/0.4659, allocations: 84.88 kB / 0.7535 GB, free: 29.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.4659, allocations: 9.531 kB / 0.7535 GB, free: 29.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.4659, allocations: 0 / 0.7535 GB, free: 29.84 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.272e-05/0.4659, allocations: 320.1 kB / 0.7538 GB, free: 29.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.466, allocations: 5.531 kB / 0.7538 GB, free: 29.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.175e-05/0.466, allocations: 11.94 kB / 0.7538 GB, free: 29.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.575e-05/0.466, allocations: 14.64 kB / 0.7538 GB, free: 29.51 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.466, allocations: 0 / 0.7538 GB, free: 29.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.498e-05/0.4661, allocations: 52.77 kB / 0.7539 GB, free: 29.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/0.4661, allocations: 3.969 kB / 0.7539 GB, free: 29.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.4661, allocations: 2.562 kB / 0.7539 GB, free: 29.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.4662, allocations: 3.906 kB / 0.7539 GB, free: 29.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.874e-05/0.4663, allocations: 19 kB / 0.7539 GB, free: 29.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4663, allocations: 0.5469 kB / 0.7539 GB, free: 29.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/0.4663, allocations: 0 / 0.7539 GB, free: 29.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.4663, allocations: 4 kB / 0.7539 GB, free: 29.47 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 3.331e-05/0.4663, allocations: 104.9 kB / 0.754 GB, free: 29.37 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.275e-06/0.4664, allocations: 3.906 kB / 0.754 GB, free: 29.36 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.4665, allocations: 66.53 kB / 0.7541 GB, free: 29.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.4665, allocations: 0 / 0.7541 GB, free: 29.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4665, allocations: 0 / 0.7541 GB, free: 29.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.4665, allocations: 0 / 0.7541 GB, free: 29.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.033e-05/0.4666, allocations: 144 kB / 0.7542 GB, free: 29.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.4666, allocations: 0 / 0.7542 GB, free: 29.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.836e-05/0.4666, allocations: 20.78 kB / 0.7542 GB, free: 29.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4667, allocations: 0 / 0.7542 GB, free: 29.15 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.4667, allocations: 3.938 kB / 0.7543 GB, free: 29.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.4667, allocations: 0 / 0.7543 GB, free: 29.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4667, allocations: 0 / 0.7543 GB, free: 29.15 MB / 0.5294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.991e-05/0.4668, allocations: 83.81 kB / 0.7543 GB, free: 29.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.4668, allocations: 77.11 kB / 0.7544 GB, free: 28.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.4668, allocations: 4.781 kB / 0.7544 GB, free: 28.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.204e-05/0.4668, allocations: 7.844 kB / 0.7544 GB, free: 28.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.007e-05/0.4669, allocations: 5.312 kB / 0.7544 GB, free: 28.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.4669, allocations: 0 / 0.7544 GB, free: 28.98 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.85e-05/0.4669, allocations: 92.47 kB / 0.7545 GB, free: 28.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000191/0.4671, allocations: 50.81 kB / 0.7546 GB, free: 28.89 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001706/0.4673, allocations: 147.9 kB / 0.7547 GB, free: 28.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.585e-05/0.4673, allocations: 17.61 kB / 0.7547 GB, free: 28.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4673, allocations: 3.906 kB / 0.7547 GB, free: 28.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.565e-05/0.4674, allocations: 18.16 kB / 0.7547 GB, free: 28.78 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/0.4675, allocations: 2.109 kB / 0.7547 GB, free: 28.78 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001654/0.4677, allocations: 78.2 kB / 0.7548 GB, free: 28.71 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.438e-05/0.4678, allocations: 0.6896 MB / 0.7555 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.4678, allocations: 0 / 0.7555 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of Templates: time 0.002613/0.4704, allocations: 1.115 MB / 0.7566 GB, free: 27.93 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)