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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00092/0.0009202, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7341/0.7341, allocations: 132.3 MB / 423.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002888/0.0002889, allocations: 12 kB / 0.5035 GB, free: 4.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.345, allocations: 81.57 MB / 0.5831 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001081/0.3461, allocations: 1.065 MB / 0.5842 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.3473, allocations: 0.9966 MB / 0.5851 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.951e-05/0.3474, allocations: 0 / 0.5851 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.29e-05/0.3474, allocations: 1.219 kB / 0.5851 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.517e-05/0.3474, allocations: 5.859 kB / 0.5852 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.3479, allocations: 158.7 kB / 0.5853 GB, free: 2.457 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.97e-05/0.3479, allocations: 28.53 kB / 0.5853 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.383e-05/0.348, allocations: 1.266 kB / 0.5853 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.168e-05/0.348, allocations: 13.14 kB / 0.5853 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.743e-05/0.3481, allocations: 12.75 kB / 0.5854 GB, free: 2.438 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.3481, allocations: 6.406 kB / 0.5854 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005661/0.3487, allocations: 402.8 kB / 0.5857 GB, free: 2.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.417e-06/0.3487, allocations: 1.859 kB / 0.5857 GB, free: 2.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.3487, allocations: 32.77 kB / 0.5858 GB, free: 2.305 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.3489, allocations: 132.6 kB / 0.5859 GB, free: 2.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3489, allocations: 0 / 0.5859 GB, free: 2.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.3489, allocations: 0 / 0.5859 GB, free: 2.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.015e-06/0.3489, allocations: 0 / 0.5859 GB, free: 2.27 MB / 430.1 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.0003029/0.3492, allocations: 380.4 kB / 0.5863 GB, free: 1.879 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.3493, allocations: 13.84 kB / 0.5863 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.3493, allocations: 5.969 kB / 0.5863 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.665e-05/0.3494, allocations: 166.5 kB / 0.5864 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3494, allocations: 4.812 kB / 0.5864 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-06/0.3494, allocations: 5.531 kB / 0.5865 GB, free: 1.664 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.282e-05/0.3495, allocations: 35.45 kB / 0.5865 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.3495, allocations: 0.75 kB / 0.5865 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.3495, allocations: 7.984 kB / 0.5865 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3495, allocations: 1.469 kB / 0.5865 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.582e-05/0.3496, allocations: 13.59 kB / 0.5865 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.3497, allocations: 165.7 kB / 0.5867 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.001e-05/0.3498, allocations: 41.03 kB / 0.5867 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.767e-05/0.3498, allocations: 12.23 kB / 0.5867 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006331/0.3505, allocations: 0.987 MB / 0.5877 GB, free: 252 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.3505, allocations: 32.23 kB / 0.5877 GB, free: 212 kB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.3505, allocations: 0 / 0.5877 GB, free: 212 kB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001488/0.3507, allocations: 63.69 kB / 0.5878 GB, free: 164 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.817e-05/0.3507, allocations: 52.95 kB / 0.5878 GB, free: 100 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.377e-05/0.3508, allocations: 113.8 kB / 0.5879 GB, free: 15.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.3508, allocations: 26.61 kB / 0.588 GB, free: 15.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.186e-05/0.3508, allocations: 85.56 kB / 0.588 GB, free: 15.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.3509, allocations: 10.36 kB / 0.5881 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-06/0.3509, allocations: 0.625 kB / 0.5881 GB, free: 15.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.351e-05/0.351, allocations: 322.3 kB / 0.5884 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.916e-05/0.351, allocations: 4.766 kB / 0.5884 GB, free: 15.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.351, allocations: 9.031 kB / 0.5884 GB, free: 15.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.798e-05/0.351, allocations: 13.12 kB / 0.5884 GB, free: 15.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.351, allocations: 0 / 0.5884 GB, free: 15.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.713e-05/0.3511, allocations: 56.3 kB / 0.5884 GB, free: 15.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.3512, allocations: 6.391 kB / 0.5884 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.3512, allocations: 0 / 0.5884 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.3512, allocations: 0 / 0.5884 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.3513, allocations: 14.48 kB / 0.5885 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.3513, allocations: 0 / 0.5885 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.3513, allocations: 1.781 kB / 0.5885 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.3513, allocations: 1.062 kB / 0.5885 GB, free: 15.49 MB / 446.1 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 () * Number of clocked 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.346e-05/0.3514, allocations: 121.1 kB / 0.5886 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-06/0.3514, allocations: 1.969 kB / 0.5886 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.3515, allocations: 66.75 kB / 0.5886 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3516, allocations: 5.188 kB / 0.5886 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3516, allocations: 0 / 0.5886 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3516, allocations: 2.141 kB / 0.5886 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.999e-05/0.3517, allocations: 169 kB / 0.5888 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3517, allocations: 1.094 kB / 0.5888 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.717e-05/0.3518, allocations: 13.28 kB / 0.5888 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3518, allocations: 6.375 kB / 0.5888 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.3518, allocations: 0 / 0.5888 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3518, allocations: 1.281 kB / 0.5888 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3518, allocations: 0 / 0.5888 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.803e-05/0.3519, allocations: 78.56 kB / 0.5889 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/0.352, allocations: 86.44 kB / 0.589 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.352, allocations: 1.219 kB / 0.589 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.423e-05/0.352, allocations: 0.6094 kB / 0.589 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.352, allocations: 10.48 kB / 0.589 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.352, allocations: 1.094 kB / 0.589 GB, free: 14.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.564e-05/0.3521, allocations: 90.28 kB / 0.5891 GB, free: 14.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3521, allocations: 0.8438 kB / 0.5891 GB, free: 14.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.3523, allocations: 42.17 kB / 0.5891 GB, free: 14.82 MB / 446.1 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 () * Number of clocked 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.0002046/0.3525, allocations: 143.1 kB / 0.5893 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.21e-05/0.3526, allocations: 16.31 kB / 0.5893 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3526, allocations: 0 / 0.5893 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.599e-05/0.3527, allocations: 21.81 kB / 0.5893 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.3529, allocations: 4.141 kB / 0.5893 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002594/0.3531, allocations: 165.1 kB / 0.5895 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.3533, allocations: 0.6835 MB / 0.5901 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.073e-05/0.3533, allocations: 3.547 kB / 0.5901 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.921e-05/0.3534, allocations: 10.34 kB / 0.5901 GB, free: 13.88 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3534, allocations: 0 / 0.5901 GB, free: 13.88 MB / 446.1 MB Notification: Performance of Templates: time 0.003264/0.3566, allocations: 1.085 MB / 0.5912 GB, free: 13.79 MB / 446.1 MB 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)