Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.0035/0.0035, allocations: 182.9 kB / 7.456 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.707/0.707, allocations: 130.6 MB / 138.5 MB, free: 2.199 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.411/1.411, allocations: 221.3 MB / 391.4 MB, free: 13.13 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.0009942/0.0009943, allocations: 101.2 kB / 473.4 MB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.015e-06/8.035e-06, allocations: 3.219 kB / 0.548 GB, free: 88.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1688, allocations: 81.58 MB / 0.6276 GB, free: 18.15 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5141/0.683, allocations: 114.7 MB / 0.7397 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/0.6833, allocations: 109.5 kB / 0.7398 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.0177/0.701, allocations: 5.917 MB / 0.7455 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.7011, allocations: 8.938 kB / 0.7455 GB, free: 11.15 MB / 0.4948 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.0004784/0.7016, allocations: 388.6 kB / 0.7459 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.7016, allocations: 7.594 kB / 0.7459 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.7017, allocations: 0 / 0.7459 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.7018, allocations: 170.2 kB / 0.7461 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.7018, allocations: 0 / 0.7461 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.7018, allocations: 3.875 kB / 0.7461 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.091e-05/0.7019, allocations: 11 kB / 0.7461 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.554e-05/0.702, allocations: 44.77 kB / 0.7461 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.702, allocations: 0 / 0.7461 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.702, allocations: 0 / 0.7461 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.702, allocations: 0 / 0.7461 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.7022, allocations: 144.4 kB / 0.7463 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.276e-05/0.7023, allocations: 40.03 kB / 0.7463 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.542e-05/0.7023, allocations: 8.734 kB / 0.7463 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009004/0.7032, allocations: 0.982 MB / 0.7473 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.7032, allocations: 30.56 kB / 0.7473 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.7032, allocations: 4 kB / 0.7473 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0002048/0.7034, allocations: 60.09 kB / 0.7474 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.7035, allocations: 51.41 kB / 0.7474 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.741e-05/0.7036, allocations: 99.36 kB / 0.7475 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.7036, allocations: 25.7 kB / 0.7475 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.814e-05/0.7036, allocations: 80.14 kB / 0.7476 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.7036, allocations: 15.22 kB / 0.7476 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.7037, allocations: 0 / 0.7476 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.7038, allocations: 322 kB / 0.7479 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.799e-05/0.7038, allocations: 11.28 kB / 0.748 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.326e-05/0.7038, allocations: 7.688 kB / 0.748 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.344e-05/0.7039, allocations: 10.92 kB / 0.748 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7039, allocations: 0 / 0.748 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.795e-05/0.704, allocations: 51.25 kB / 0.748 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.704, allocations: 7.375 kB / 0.748 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.704, allocations: 0 / 0.748 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.704, allocations: 3.422 kB / 0.748 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.7041, allocations: 15.44 kB / 0.748 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.7041, allocations: 0 / 0.748 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.318e-05/0.7042, allocations: 4 kB / 0.7481 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.7042, allocations: 3.844 kB / 0.7481 GB, free: 24.46 MB / 0.5105 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 6.883e-05/0.7043, allocations: 101 kB / 0.7482 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.7043, allocations: 7.141 kB / 0.7482 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.7044, allocations: 63.92 kB / 0.7482 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.7044, allocations: 3.875 kB / 0.7482 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.7045, allocations: 0 / 0.7482 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.7045, allocations: 0 / 0.7482 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.147e-05/0.7046, allocations: 148.7 kB / 0.7484 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.7046, allocations: 3.938 kB / 0.7484 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.7046, allocations: 14.69 kB / 0.7484 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.7047, allocations: 0 / 0.7484 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.7047, allocations: 0 / 0.7484 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7047, allocations: 0 / 0.7484 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7047, allocations: 0 / 0.7484 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001147/0.7048, allocations: 81.94 kB / 0.7485 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.7048, allocations: 77.11 kB / 0.7485 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.7049, allocations: 11.84 kB / 0.7485 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.305e-05/0.7049, allocations: 3.938 kB / 0.7486 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.214e-05/0.7049, allocations: 3.469 kB / 0.7486 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.7049, allocations: 0 / 0.7486 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.464e-05/0.705, allocations: 86.47 kB / 0.7486 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002443/0.7052, allocations: 45.78 kB / 0.7487 GB, free: 23.89 MB / 0.5105 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.0002528/0.7055, allocations: 159.4 kB / 0.7488 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.615e-05/0.7056, allocations: 18.47 kB / 0.7488 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7056, allocations: 0 / 0.7488 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.615e-05/0.7056, allocations: 7.625 kB / 0.7489 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.7057, allocations: 10.53 kB / 0.7489 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002153/0.706, allocations: 72.81 kB / 0.7489 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.7062, allocations: 0.6938 MB / 0.7496 GB, free: 23 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.7063, allocations: 0 / 0.7496 GB, free: 23 MB / 0.5105 GB Notification: Performance of Templates: time 0.003062/0.7093, allocations: 1.116 MB / 0.7507 GB, free: 22.91 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)