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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 104.3 kB / 16.35 MB, free: 5.828 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.001092/0.001092, allocations: 194.2 kB / 17.3 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7732/0.7732, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.91 kB / 0.5068 GB, free: 7.617 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3097, allocations: 80.91 MB / 0.5858 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002217/0.3119, allocations: 1.35 MB / 0.5871 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.3132, allocations: 1.077 MB / 0.5882 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.079e-05/0.3132, allocations: 0 / 0.5882 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.3132, allocations: 1.125 kB / 0.5882 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.183e-05/0.3133, allocations: 9.188 kB / 0.5882 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.3138, allocations: 208.3 kB / 0.5884 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.881e-05/0.3138, allocations: 34.27 kB / 0.5884 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.3139, allocations: 11.11 kB / 0.5884 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.931e-05/0.3139, allocations: 7.312 kB / 0.5885 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.827e-05/0.314, allocations: 17.7 kB / 0.5885 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.314, allocations: 2.031 kB / 0.5885 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004823/0.3145, allocations: 425.5 kB / 0.5889 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.3145, allocations: 3.938 kB / 0.5889 GB, free: 23.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.3145, allocations: 21.7 kB / 0.5889 GB, free: 23.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.3148, allocations: 193.4 kB / 0.5891 GB, free: 23.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3148, allocations: 0 / 0.5891 GB, free: 23.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3148, allocations: 0 / 0.5891 GB, free: 23.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3148, allocations: 0 / 0.5891 GB, free: 23.32 MB / 446.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.0003263/0.3151, allocations: 386.7 kB / 0.5895 GB, free: 22.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.3151, allocations: 10.19 kB / 0.5895 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.3152, allocations: 4.938 kB / 0.5895 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.759e-05/0.3153, allocations: 164.3 kB / 0.5896 GB, free: 22.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.3153, allocations: 8.312 kB / 0.5896 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.3153, allocations: 8.062 kB / 0.5896 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.237e-05/0.3154, allocations: 38.78 kB / 0.5897 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.3154, allocations: 0 / 0.5897 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.3154, allocations: 4 kB / 0.5897 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3154, allocations: 4.5 kB / 0.5897 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.028e-05/0.3154, allocations: 15.98 kB / 0.5897 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001104/0.3156, allocations: 159.1 kB / 0.5899 GB, free: 22.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.052e-05/0.3156, allocations: 43.66 kB / 0.5899 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.3157, allocations: 20.83 kB / 0.5899 GB, free: 22.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006553/0.3163, allocations: 0.9851 MB / 0.5909 GB, free: 21.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.3164, allocations: 39.11 kB / 0.5909 GB, free: 21.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3164, allocations: 5.719 kB / 0.5909 GB, free: 21.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001374/0.3165, allocations: 49.69 kB / 0.591 GB, free: 21.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.3165, allocations: 59.41 kB / 0.591 GB, free: 20.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.438e-05/0.3166, allocations: 106.5 kB / 0.5911 GB, free: 20.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.3166, allocations: 29.7 kB / 0.5912 GB, free: 20.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.609e-05/0.3166, allocations: 81.23 kB / 0.5912 GB, free: 20.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.3167, allocations: 15.8 kB / 0.5912 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.3167, allocations: 18.22 kB / 0.5913 GB, free: 20.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.884e-05/0.3167, allocations: 319.4 kB / 0.5916 GB, free: 20.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.3167, allocations: 5.438 kB / 0.5916 GB, free: 20.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.455e-05/0.3168, allocations: 7.984 kB / 0.5916 GB, free: 20.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.394e-05/0.3168, allocations: 16.86 kB / 0.5916 GB, free: 20.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3168, allocations: 1.844 kB / 0.5916 GB, free: 20.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.37e-05/0.3169, allocations: 57.62 kB / 0.5917 GB, free: 20.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.3169, allocations: 8 kB / 0.5917 GB, free: 20.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.3169, allocations: 0 / 0.5917 GB, free: 20.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3169, allocations: 0 / 0.5917 GB, free: 20.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.317, allocations: 20.42 kB / 0.5917 GB, free: 20.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.317, allocations: 0.5938 kB / 0.5917 GB, free: 20.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.224e-05/0.3171, allocations: 3.906 kB / 0.5917 GB, free: 20.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.3171, allocations: 6.375 kB / 0.5917 GB, free: 20.23 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.07e-05/0.3171, allocations: 106.7 kB / 0.5918 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.3171, allocations: 3.938 kB / 0.5918 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.562e-05/0.3172, allocations: 65.53 kB / 0.5919 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.3172, allocations: 5.094 kB / 0.5919 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3173, allocations: 0 / 0.5919 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3173, allocations: 3.984 kB / 0.5919 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.175e-05/0.3173, allocations: 166.6 kB / 0.592 GB, free: 19.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3173, allocations: 0 / 0.592 GB, free: 19.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.863e-05/0.3174, allocations: 15.94 kB / 0.592 GB, free: 19.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3174, allocations: 4.672 kB / 0.592 GB, free: 19.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.3174, allocations: 0.6562 kB / 0.592 GB, free: 19.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3174, allocations: 0 / 0.592 GB, free: 19.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3174, allocations: 1.625 kB / 0.592 GB, free: 19.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.92e-05/0.3175, allocations: 80.97 kB / 0.5921 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.3175, allocations: 86.61 kB / 0.5922 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.3176, allocations: 0 / 0.5922 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.17e-05/0.3176, allocations: 0 / 0.5922 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.22e-05/0.3176, allocations: 4.422 kB / 0.5922 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-06/0.3176, allocations: 0.5312 kB / 0.5922 GB, free: 19.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.111e-05/0.3176, allocations: 89.55 kB / 0.5923 GB, free: 19.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3176, allocations: 0 / 0.5923 GB, free: 19.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000204/0.3178, allocations: 39.94 kB / 0.5923 GB, free: 19.48 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001745/0.318, allocations: 151.1 kB / 0.5925 GB, free: 19.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.068e-05/0.3181, allocations: 26.38 kB / 0.5925 GB, free: 19.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.3181, allocations: 0 / 0.5925 GB, free: 19.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.796e-05/0.3181, allocations: 12 kB / 0.5925 GB, free: 19.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.3183, allocations: 15.92 kB / 0.5925 GB, free: 19.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.3186, allocations: 141.6 kB / 0.5927 GB, free: 19.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.487e-05/0.3187, allocations: 0.6828 MB / 0.5933 GB, free: 18.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.796e-05/0.3187, allocations: 10.23 kB / 0.5933 GB, free: 18.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.648e-05/0.3187, allocations: 7.438 kB / 0.5933 GB, free: 18.38 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3187, allocations: 0 / 0.5933 GB, free: 18.38 MB / 446.1 MB Notification: Performance of Templates: time 0.002877/0.3216, allocations: 1.122 MB / 0.5944 GB, free: 17.36 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)