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.001225/0.001225, allocations: 102.8 kB / 16.27 MB, free: 6.414 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.001222/0.001222, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.409/1.409, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8566/0.8566, allocations: 132.2 MB / 423.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 67.89 kB / 0.5025 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4731/0.4746, allocations: 80.17 MB / 0.5808 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002672/0.4773, allocations: 1.353 MB / 0.5821 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.4789, allocations: 1.081 MB / 0.5832 GB, free: 25.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.253e-05/0.4789, allocations: 0 / 0.5832 GB, free: 25.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.281e-05/0.479, allocations: 7.922 kB / 0.5832 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.327e-05/0.479, allocations: 5.188 kB / 0.5832 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006224/0.4796, allocations: 205.1 kB / 0.5834 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.614e-05/0.4797, allocations: 34.95 kB / 0.5834 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.079e-05/0.4798, allocations: 2.281 kB / 0.5834 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.467e-05/0.4798, allocations: 19.06 kB / 0.5834 GB, free: 25.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.085e-05/0.4799, allocations: 17.52 kB / 0.5834 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.4799, allocations: 2.25 kB / 0.5834 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005802/0.4805, allocations: 411.9 kB / 0.5838 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.4805, allocations: 13.8 kB / 0.5839 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.4805, allocations: 10.09 kB / 0.5839 GB, free: 25.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.4809, allocations: 202.4 kB / 0.5841 GB, free: 24.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4809, allocations: 0.625 kB / 0.5841 GB, free: 24.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4809, allocations: 0 / 0.5841 GB, free: 24.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.4809, allocations: 0.9688 kB / 0.5841 GB, free: 24.91 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.0004095/0.4813, allocations: 385 kB / 0.5844 GB, free: 24.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.4814, allocations: 11 kB / 0.5844 GB, free: 24.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.4814, allocations: 6.297 kB / 0.5844 GB, free: 24.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.746e-05/0.4815, allocations: 167.2 kB / 0.5846 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.4815, allocations: 1.438 kB / 0.5846 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.4815, allocations: 9.328 kB / 0.5846 GB, free: 24.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.4816, allocations: 45.53 kB / 0.5847 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.4817, allocations: 0 / 0.5847 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.4817, allocations: 3.938 kB / 0.5847 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.4817, allocations: 1.156 kB / 0.5847 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.414e-05/0.4817, allocations: 16.56 kB / 0.5847 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.4819, allocations: 168.9 kB / 0.5848 GB, free: 24.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.482, allocations: 35.73 kB / 0.5849 GB, free: 24.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.101e-05/0.4821, allocations: 24.45 kB / 0.5849 GB, free: 23.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007134/0.4828, allocations: 0.9855 MB / 0.5859 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.4828, allocations: 32.44 kB / 0.5859 GB, free: 22.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4828, allocations: 0 / 0.5859 GB, free: 22.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001665/0.483, allocations: 57.56 kB / 0.5859 GB, free: 22.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.483, allocations: 52.72 kB / 0.586 GB, free: 22.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.197e-05/0.4831, allocations: 110.1 kB / 0.5861 GB, free: 22.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.4831, allocations: 25.7 kB / 0.5861 GB, free: 22.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.118e-05/0.4831, allocations: 84.14 kB / 0.5862 GB, free: 22.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.4832, allocations: 11.31 kB / 0.5862 GB, free: 22.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.4832, allocations: 17.09 kB / 0.5862 GB, free: 22.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.342e-05/0.4832, allocations: 320 kB / 0.5865 GB, free: 22.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.007e-05/0.4833, allocations: 4.625 kB / 0.5865 GB, free: 22.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.418e-05/0.4833, allocations: 4.406 kB / 0.5865 GB, free: 22.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.216e-05/0.4834, allocations: 23.41 kB / 0.5866 GB, free: 22.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4834, allocations: 3.594 kB / 0.5866 GB, free: 22.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.95e-05/0.4835, allocations: 57.02 kB / 0.5866 GB, free: 22.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.4835, allocations: 3.562 kB / 0.5866 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.4835, allocations: 7.828 kB / 0.5866 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.4835, allocations: 0 / 0.5866 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.4836, allocations: 15 kB / 0.5866 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.4836, allocations: 0 / 0.5866 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.4837, allocations: 1.594 kB / 0.5866 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.4837, allocations: 3.875 kB / 0.5867 GB, free: 22.05 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 5.416e-05/0.4837, allocations: 108.1 kB / 0.5868 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.4837, allocations: 9.594 kB / 0.5868 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.4839, allocations: 69.14 kB / 0.5868 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.4839, allocations: 0 / 0.5868 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4839, allocations: 5.062 kB / 0.5868 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4839, allocations: 0 / 0.5868 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.532e-05/0.484, allocations: 165.5 kB / 0.587 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.484, allocations: 3.984 kB / 0.587 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.555e-05/0.4841, allocations: 16.91 kB / 0.587 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.4841, allocations: 1.25 kB / 0.587 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.4841, allocations: 1.312 kB / 0.587 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4841, allocations: 0 / 0.587 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4841, allocations: 1.125 kB / 0.587 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.457e-05/0.4842, allocations: 86.59 kB / 0.5871 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.4842, allocations: 86.16 kB / 0.5872 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.4842, allocations: 5.812 kB / 0.5872 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.341e-05/0.4843, allocations: 3.219 kB / 0.5872 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.4843, allocations: 1.031 kB / 0.5872 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.4843, allocations: 5.312 kB / 0.5872 GB, free: 21.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.208e-05/0.4843, allocations: 85.42 kB / 0.5873 GB, free: 21.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4843, allocations: 0 / 0.5873 GB, free: 21.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.4846, allocations: 40.53 kB / 0.5873 GB, free: 21.38 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.0002142/0.4848, allocations: 141.8 kB / 0.5875 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.878e-05/0.4849, allocations: 21.7 kB / 0.5875 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4849, allocations: 0.7188 kB / 0.5875 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.226e-05/0.485, allocations: 11.72 kB / 0.5875 GB, free: 21.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.4852, allocations: 15.91 kB / 0.5875 GB, free: 21.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.4855, allocations: 174.2 kB / 0.5877 GB, free: 21.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.4856, allocations: 0.6818 MB / 0.5883 GB, free: 20.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.4857, allocations: 15.5 kB / 0.5883 GB, free: 20.38 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4857, allocations: 0 / 0.5883 GB, free: 20.38 MB / 446.1 MB Notification: Performance of Templates: time 0.00248/0.4882, allocations: 1.025 MB / 0.5893 GB, free: 19.92 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)