Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001028/0.001028, allocations: 180.4 kB / 7.801 MB, free: 2.094 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4406/0.4406, allocations: 90.86 MB / 99.08 MB, free: 15.04 MB / 90.73 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 221.4 MB / 342.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009637/0.0009639, allocations: 104.2 kB / 415.5 MB, free: 6.387 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.063e-06/7.204e-06, allocations: 0 / 493.9 MB, free: 7.965 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3456, allocations: 72.3 MB / 0.553 GB, free: 73.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.111/0.4567, allocations: 105.2 MB / 0.6557 GB, free: 4.887 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.457, allocations: 111.9 kB / 0.6558 GB, free: 4.777 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01826/0.4752, allocations: 5.959 MB / 0.6616 GB, free: 14.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.4753, allocations: 0 / 0.6616 GB, free: 14.87 MB / 490.7 MB 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.000523/0.4758, allocations: 396 kB / 0.662 GB, free: 14.44 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.4759, allocations: 11.97 kB / 0.662 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.4759, allocations: 4 kB / 0.662 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.4761, allocations: 169.4 kB / 0.6621 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.4762, allocations: 4.5 kB / 0.6622 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.4762, allocations: 5.047 kB / 0.6622 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.055e-05/0.4763, allocations: 8.594 kB / 0.6622 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.689e-05/0.4764, allocations: 39.19 kB / 0.6622 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.4764, allocations: 3.938 kB / 0.6622 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.4764, allocations: 4 kB / 0.6622 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4764, allocations: 0 / 0.6622 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.4766, allocations: 139 kB / 0.6623 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.4767, allocations: 43.7 kB / 0.6624 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.313e-05/0.4767, allocations: 9.516 kB / 0.6624 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008623/0.4776, allocations: 0.9875 MB / 0.6634 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.4776, allocations: 30.56 kB / 0.6634 GB, free: 12.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4776, allocations: 0 / 0.6634 GB, free: 12.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002073/0.4779, allocations: 53.59 kB / 0.6634 GB, free: 12.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.4779, allocations: 51.41 kB / 0.6635 GB, free: 12.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.06e-05/0.478, allocations: 96.98 kB / 0.6636 GB, free: 12.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.478, allocations: 29.7 kB / 0.6636 GB, free: 12.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.462e-05/0.478, allocations: 84.14 kB / 0.6637 GB, free: 12.33 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.478, allocations: 11.81 kB / 0.6637 GB, free: 12.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.4781, allocations: 0 / 0.6637 GB, free: 12.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.171e-05/0.4782, allocations: 320.6 kB / 0.664 GB, free: 12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/0.4782, allocations: 7.984 kB / 0.664 GB, free: 11.99 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.392e-05/0.4782, allocations: 4 kB / 0.664 GB, free: 11.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.373e-05/0.4783, allocations: 8 kB / 0.664 GB, free: 11.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.4783, allocations: 0 / 0.664 GB, free: 11.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001102/0.4784, allocations: 53.69 kB / 0.6641 GB, free: 11.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.4784, allocations: 7.906 kB / 0.6641 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.4784, allocations: 9.547 kB / 0.6641 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.4784, allocations: 0 / 0.6641 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.4786, allocations: 12 kB / 0.6641 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.4786, allocations: 0 / 0.6641 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/0.4786, allocations: 0 / 0.6641 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.4786, allocations: 0 / 0.6641 GB, free: 11.89 MB / 490.7 MB 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.031e-05/0.4787, allocations: 101 kB / 0.6642 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-06/0.4787, allocations: 15.84 kB / 0.6642 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.4789, allocations: 66.55 kB / 0.6643 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4789, allocations: 0 / 0.6643 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4789, allocations: 0 / 0.6643 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.4789, allocations: 0 / 0.6643 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.559e-05/0.479, allocations: 148 kB / 0.6644 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.479, allocations: 3.938 kB / 0.6644 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.834e-05/0.4791, allocations: 13.69 kB / 0.6644 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4791, allocations: 0 / 0.6644 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.4791, allocations: 3.984 kB / 0.6644 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4791, allocations: 4 kB / 0.6644 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4791, allocations: 0 / 0.6644 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001186/0.4792, allocations: 84.95 kB / 0.6645 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.4793, allocations: 84.95 kB / 0.6646 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.4793, allocations: 0 / 0.6646 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.316e-05/0.4793, allocations: 4 kB / 0.6646 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.4793, allocations: 0 / 0.6646 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.4794, allocations: 0 / 0.6646 GB, free: 11.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.708e-05/0.4794, allocations: 91.27 kB / 0.6647 GB, free: 11.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000231/0.4796, allocations: 43.94 kB / 0.6647 GB, free: 11.15 MB / 490.7 MB 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.0002441/0.4799, allocations: 155.1 kB / 0.6649 GB, free: 10.99 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.997e-05/0.48, allocations: 20 kB / 0.6649 GB, free: 10.97 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.48, allocations: 0 / 0.6649 GB, free: 10.97 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.016e-05/0.48, allocations: 18.27 kB / 0.6649 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.4802, allocations: 3.281 kB / 0.6649 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/0.4804, allocations: 71.78 kB / 0.665 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.4806, allocations: 0.6915 MB / 0.6657 GB, free: 10.15 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4806, allocations: 0 / 0.6657 GB, free: 10.15 MB / 490.7 MB Notification: Performance of Templates: time 0.003233/0.4839, allocations: 1.121 MB / 0.6668 GB, free: 9.086 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)