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.001104/0.001105, allocations: 106 kB / 16.36 MB, free: 6.289 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.001089/0.001089, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7821/0.7821, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.91 kB / 0.5068 GB, free: 7.621 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4178, allocations: 80.91 MB / 0.5858 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002415/0.4203, allocations: 1.349 MB / 0.5871 GB, free: 24.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.4217, allocations: 1.068 MB / 0.5882 GB, free: 23.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.876e-05/0.4217, allocations: 0.7188 kB / 0.5882 GB, free: 23.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.021e-05/0.4218, allocations: 5.016 kB / 0.5882 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.898e-05/0.4218, allocations: 11.09 kB / 0.5882 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005713/0.4224, allocations: 211.1 kB / 0.5884 GB, free: 23.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.772e-05/0.4225, allocations: 35.02 kB / 0.5884 GB, free: 23.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.603e-05/0.4225, allocations: 1.281 kB / 0.5884 GB, free: 23.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.226e-05/0.4226, allocations: 18.8 kB / 0.5885 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.333e-05/0.4226, allocations: 23.19 kB / 0.5885 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.4227, allocations: 1.312 kB / 0.5885 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005431/0.4232, allocations: 421.5 kB / 0.5889 GB, free: 23.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.4232, allocations: 9.25 kB / 0.5889 GB, free: 23.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.4233, allocations: 7.938 kB / 0.5889 GB, free: 23.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.4235, allocations: 194.1 kB / 0.5891 GB, free: 22.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4235, allocations: 3.312 kB / 0.5891 GB, free: 22.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4235, allocations: 0 / 0.5891 GB, free: 22.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.4236, allocations: 0 / 0.5891 GB, free: 22.98 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.0003452/0.4239, allocations: 388.9 kB / 0.5895 GB, free: 22.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.424, allocations: 15.52 kB / 0.5895 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.424, allocations: 2.281 kB / 0.5895 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.033e-05/0.4241, allocations: 171.1 kB / 0.5896 GB, free: 22.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.4241, allocations: 1.531 kB / 0.5896 GB, free: 22.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.4241, allocations: 10.53 kB / 0.5896 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.988e-05/0.4242, allocations: 39.19 kB / 0.5897 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.4242, allocations: 0 / 0.5897 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.4242, allocations: 1.781 kB / 0.5897 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4242, allocations: 1.031 kB / 0.5897 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.374e-05/0.4243, allocations: 8.594 kB / 0.5897 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001205/0.4244, allocations: 168.5 kB / 0.5899 GB, free: 22.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.929e-05/0.4245, allocations: 40.61 kB / 0.5899 GB, free: 22.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.4245, allocations: 23.17 kB / 0.5899 GB, free: 22.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006788/0.4252, allocations: 0.9847 MB / 0.5909 GB, free: 20.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.4252, allocations: 37.5 kB / 0.5909 GB, free: 20.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.4253, allocations: 0.9062 kB / 0.5909 GB, free: 20.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001566/0.4254, allocations: 52.94 kB / 0.591 GB, free: 20.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.4254, allocations: 51.94 kB / 0.591 GB, free: 20.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.835e-05/0.4255, allocations: 115.8 kB / 0.5911 GB, free: 20.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.4255, allocations: 27.2 kB / 0.5912 GB, free: 20.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.846e-05/0.4255, allocations: 84.14 kB / 0.5912 GB, free: 20.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.4256, allocations: 11.91 kB / 0.5912 GB, free: 20.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.4256, allocations: 21.64 kB / 0.5913 GB, free: 20.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.488e-05/0.4256, allocations: 312.9 kB / 0.5916 GB, free: 20.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.799e-05/0.4257, allocations: 6.875 kB / 0.5916 GB, free: 20.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.464e-05/0.4257, allocations: 5.844 kB / 0.5916 GB, free: 20.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.041e-05/0.4257, allocations: 23.78 kB / 0.5916 GB, free: 20.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4257, allocations: 1.125 kB / 0.5916 GB, free: 20.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.204e-05/0.4258, allocations: 49.27 kB / 0.5916 GB, free: 20.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.4258, allocations: 11.98 kB / 0.5917 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.4258, allocations: 4.75 kB / 0.5917 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.4259, allocations: 0 / 0.5917 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.426, allocations: 17.81 kB / 0.5917 GB, free: 20.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.426, allocations: 0 / 0.5917 GB, free: 20.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.334e-05/0.426, allocations: 3.906 kB / 0.5917 GB, free: 20.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.426, allocations: 0 / 0.5917 GB, free: 20.1 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.858e-05/0.4261, allocations: 119.2 kB / 0.5918 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-06/0.4261, allocations: 4.438 kB / 0.5918 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.4262, allocations: 58.16 kB / 0.5919 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4262, allocations: 8.5 kB / 0.5919 GB, free: 19.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4262, allocations: 4.75 kB / 0.5919 GB, free: 19.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4262, allocations: 0 / 0.5919 GB, free: 19.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.778e-05/0.4263, allocations: 169.5 kB / 0.592 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4263, allocations: 2.375 kB / 0.592 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.964e-05/0.4264, allocations: 12 kB / 0.592 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4264, allocations: 0 / 0.592 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.4264, allocations: 0 / 0.592 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4264, allocations: 0 / 0.592 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.4264, allocations: 0 / 0.592 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.411e-05/0.4265, allocations: 82.25 kB / 0.5921 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.4265, allocations: 90.53 kB / 0.5922 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.4266, allocations: 0 / 0.5922 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.216e-05/0.4266, allocations: 432 / 0.5922 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.4266, allocations: 4 kB / 0.5922 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.4266, allocations: 5.688 kB / 0.5922 GB, free: 19.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.186e-05/0.4266, allocations: 87.25 kB / 0.5923 GB, free: 19.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.92e-07/0.4266, allocations: 0 / 0.5923 GB, free: 19.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002098/0.4269, allocations: 43.94 kB / 0.5923 GB, free: 19.33 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.0001952/0.4271, allocations: 140.6 kB / 0.5925 GB, free: 19.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.923e-05/0.4271, allocations: 29.5 kB / 0.5925 GB, free: 19.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4272, allocations: 0 / 0.5925 GB, free: 19.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.656e-05/0.4272, allocations: 8 kB / 0.5925 GB, free: 19.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.4274, allocations: 17.28 kB / 0.5925 GB, free: 19.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002532/0.4276, allocations: 145.2 kB / 0.5927 GB, free: 18.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.572e-05/0.4277, allocations: 0.6817 MB / 0.5933 GB, free: 18.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.841e-05/0.4278, allocations: 5.562 kB / 0.5933 GB, free: 18.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.646e-05/0.4278, allocations: 7.438 kB / 0.5933 GB, free: 18.25 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4278, allocations: 0 / 0.5933 GB, free: 18.25 MB / 446.1 MB Notification: Performance of Templates: time 0.002809/0.4306, allocations: 1.125 MB / 0.5944 GB, free: 17.22 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)