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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 112.6 kB / 17.04 MB, free: 5.355 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.001223/0.001223, allocations: 193.9 kB / 17.98 MB, free: 4.895 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.29/1.29, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7166/0.7166, allocations: 115.1 MB / 407 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 72.12 kB / 494.9 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4306, allocations: 76.14 MB / 0.5576 GB, free: 36.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002419/0.433, allocations: 1.348 MB / 0.559 GB, free: 35.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.4345, allocations: 1.076 MB / 0.56 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.4346, allocations: 0.6875 kB / 0.56 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.4346, allocations: 7.359 kB / 0.56 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.206e-05/0.4347, allocations: 9.609 kB / 0.56 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006122/0.4353, allocations: 214.2 kB / 0.5602 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.729e-05/0.4353, allocations: 29.97 kB / 0.5603 GB, free: 34.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.868e-05/0.4354, allocations: 3.781 kB / 0.5603 GB, free: 34.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.312e-05/0.4355, allocations: 17.69 kB / 0.5603 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.736e-05/0.4355, allocations: 11.34 kB / 0.5603 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.4356, allocations: 1.344 kB / 0.5603 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006394/0.4362, allocations: 430.3 kB / 0.5607 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.4362, allocations: 6.938 kB / 0.5607 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.4363, allocations: 17.84 kB / 0.5607 GB, free: 34.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.4366, allocations: 199.4 kB / 0.5609 GB, free: 34.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4366, allocations: 1.031 kB / 0.5609 GB, free: 34.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4366, allocations: 0 / 0.5609 GB, free: 34.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.4366, allocations: 0 / 0.5609 GB, free: 34.78 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.0004159/0.4371, allocations: 384.7 kB / 0.5613 GB, free: 34.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4371, allocations: 9.969 kB / 0.5613 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.4371, allocations: 7.828 kB / 0.5613 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.661e-05/0.4372, allocations: 168 kB / 0.5615 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.4373, allocations: 3.281 kB / 0.5615 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.4373, allocations: 5.625 kB / 0.5615 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.4374, allocations: 39.66 kB / 0.5615 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.4374, allocations: 0.875 kB / 0.5615 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.4374, allocations: 5.188 kB / 0.5615 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.4374, allocations: 0 / 0.5615 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.705e-05/0.4375, allocations: 19.59 kB / 0.5615 GB, free: 34.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.4376, allocations: 157.8 kB / 0.5617 GB, free: 33.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.951e-05/0.4377, allocations: 42.61 kB / 0.5617 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.787e-05/0.4377, allocations: 16.14 kB / 0.5617 GB, free: 33.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007734/0.4385, allocations: 0.9844 MB / 0.5627 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.4386, allocations: 37.02 kB / 0.5627 GB, free: 32.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.4386, allocations: 0.8438 kB / 0.5627 GB, free: 32.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001653/0.4387, allocations: 64.88 kB / 0.5628 GB, free: 32.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.4388, allocations: 53.91 kB / 0.5628 GB, free: 32.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.407e-05/0.4388, allocations: 105 kB / 0.5629 GB, free: 32.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.4389, allocations: 27.5 kB / 0.563 GB, free: 32.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.794e-05/0.4389, allocations: 83.31 kB / 0.5631 GB, free: 32.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.4389, allocations: 10.89 kB / 0.5631 GB, free: 32.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.439, allocations: 14.58 kB / 0.5631 GB, free: 32.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.346e-05/0.439, allocations: 318.1 kB / 0.5634 GB, free: 32.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.4391, allocations: 4.875 kB / 0.5634 GB, free: 32.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.4391, allocations: 6.75 kB / 0.5634 GB, free: 32.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.413e-05/0.4391, allocations: 30.53 kB / 0.5634 GB, free: 32.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4391, allocations: 1.094 kB / 0.5634 GB, free: 32.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.059e-05/0.4392, allocations: 55.91 kB / 0.5635 GB, free: 32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.4393, allocations: 16.08 kB / 0.5635 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.4393, allocations: 0 / 0.5635 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.4393, allocations: 0 / 0.5635 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.4394, allocations: 14.36 kB / 0.5635 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.4394, allocations: 3.359 kB / 0.5635 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.275e-05/0.4394, allocations: 1.312 kB / 0.5635 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.4394, allocations: 1.5 kB / 0.5635 GB, free: 32 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 6.152e-05/0.4395, allocations: 111.7 kB / 0.5636 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.4395, allocations: 10.98 kB / 0.5636 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.4397, allocations: 64.38 kB / 0.5637 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4397, allocations: 0.7969 kB / 0.5637 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4397, allocations: 0 / 0.5637 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.4397, allocations: 2.5 kB / 0.5637 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.451e-05/0.4398, allocations: 160.7 kB / 0.5638 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4398, allocations: 3.188 kB / 0.5638 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.458e-05/0.4399, allocations: 15.33 kB / 0.5639 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.4399, allocations: 5.406 kB / 0.5639 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.4399, allocations: 1.5 kB / 0.5639 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4399, allocations: 0 / 0.5639 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4399, allocations: 2.281 kB / 0.5639 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.271e-05/0.44, allocations: 82.19 kB / 0.5639 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.44, allocations: 88.14 kB / 0.564 GB, free: 31.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.4401, allocations: 2.109 kB / 0.564 GB, free: 31.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.107e-05/0.4401, allocations: 0 / 0.564 GB, free: 31.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.397e-05/0.4401, allocations: 3.078 kB / 0.564 GB, free: 31.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.4401, allocations: 1.984 kB / 0.564 GB, free: 31.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.201e-05/0.4401, allocations: 87.22 kB / 0.5641 GB, free: 31.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4402, allocations: 1.188 kB / 0.5641 GB, free: 31.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.4404, allocations: 40.91 kB / 0.5642 GB, free: 31.36 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.000258/0.4407, allocations: 156.6 kB / 0.5643 GB, free: 31.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.4408, allocations: 16.11 kB / 0.5643 GB, free: 31.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4408, allocations: 0.75 kB / 0.5643 GB, free: 31.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.502e-05/0.4408, allocations: 18.8 kB / 0.5643 GB, free: 31.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.441, allocations: 8.797 kB / 0.5644 GB, free: 31.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.4414, allocations: 148.5 kB / 0.5645 GB, free: 31.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.4415, allocations: 0.6835 MB / 0.5652 GB, free: 30.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.145e-05/0.4416, allocations: 7.891 kB / 0.5652 GB, free: 30.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/0.4416, allocations: 11.53 kB / 0.5652 GB, free: 30.41 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4416, allocations: 0.8125 kB / 0.5652 GB, free: 30.41 MB / 446.1 MB Notification: Performance of Templates: time 0.003955/0.4456, allocations: 1.142 MB / 0.5663 GB, free: 30.38 MB / 446.1 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)