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.001151/0.001151, allocations: 106.2 kB / 16.52 MB, free: 6.664 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.001144/0.001144, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.344/1.344, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7388/0.7388, allocations: 115.3 MB / 406.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 71.89 kB / 493.6 MB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.4521, allocations: 76.17 MB / 0.5564 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002608/0.4548, allocations: 1.395 MB / 0.5578 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.4565, allocations: 1.135 MB / 0.5589 GB, free: 34.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.312e-05/0.4566, allocations: 1.312 kB / 0.5589 GB, free: 34.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.286e-05/0.4566, allocations: 1.828 kB / 0.5589 GB, free: 34.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.582e-05/0.4567, allocations: 5.312 kB / 0.5589 GB, free: 34.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000523/0.4572, allocations: 156.8 kB / 0.5591 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.348e-05/0.4573, allocations: 35.05 kB / 0.5591 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/0.4573, allocations: 2.562 kB / 0.5591 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.25e-05/0.4574, allocations: 10.34 kB / 0.5591 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.667e-05/0.4575, allocations: 18.3 kB / 0.5591 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.4575, allocations: 2 kB / 0.5591 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006696/0.4582, allocations: 423.2 kB / 0.5595 GB, free: 34.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.4582, allocations: 9.828 kB / 0.5595 GB, free: 34.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.4582, allocations: 10.3 kB / 0.5596 GB, free: 34.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.4585, allocations: 135.2 kB / 0.5597 GB, free: 34.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4585, allocations: 0.7031 kB / 0.5597 GB, free: 34.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4585, allocations: 1.531 kB / 0.5597 GB, free: 34.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.4585, allocations: 5.156 kB / 0.5597 GB, free: 34.28 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.0004435/0.459, allocations: 383.4 kB / 0.5601 GB, free: 33.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.459, allocations: 14.38 kB / 0.5601 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.4591, allocations: 7.594 kB / 0.5601 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.57e-05/0.4592, allocations: 167.2 kB / 0.5602 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.4592, allocations: 1.656 kB / 0.5602 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.4592, allocations: 2.5 kB / 0.5602 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.4593, allocations: 46.02 kB / 0.5603 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4593, allocations: 0 / 0.5603 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.4594, allocations: 4 kB / 0.5603 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4594, allocations: 2.047 kB / 0.5603 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.526e-05/0.4594, allocations: 10.64 kB / 0.5603 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.4596, allocations: 170.2 kB / 0.5605 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.4597, allocations: 39.31 kB / 0.5605 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.4597, allocations: 12.44 kB / 0.5605 GB, free: 33.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008366/0.4606, allocations: 0.9928 MB / 0.5615 GB, free: 32.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.4606, allocations: 38.5 kB / 0.5615 GB, free: 32.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4606, allocations: 1.125 kB / 0.5615 GB, free: 32.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001931/0.4608, allocations: 62.94 kB / 0.5616 GB, free: 32.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.4609, allocations: 51.41 kB / 0.5616 GB, free: 32.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.093e-05/0.4609, allocations: 106.9 kB / 0.5617 GB, free: 32.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.527e-06/0.4609, allocations: 25.7 kB / 0.5618 GB, free: 31.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.085e-05/0.461, allocations: 88.23 kB / 0.5618 GB, free: 31.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.461, allocations: 5.875 kB / 0.5618 GB, free: 31.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.4611, allocations: 19.66 kB / 0.5619 GB, free: 31.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.061e-05/0.4611, allocations: 321.9 kB / 0.5622 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.392e-05/0.4612, allocations: 8.828 kB / 0.5622 GB, free: 31.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.942e-05/0.4612, allocations: 6.484 kB / 0.5622 GB, free: 31.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.613e-05/0.4612, allocations: 22.2 kB / 0.5622 GB, free: 31.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.4612, allocations: 1.094 kB / 0.5622 GB, free: 31.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.826e-05/0.4613, allocations: 56.19 kB / 0.5623 GB, free: 31.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4613, allocations: 9.125 kB / 0.5623 GB, free: 31.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4614, allocations: 1.25 kB / 0.5623 GB, free: 31.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.4614, allocations: 1.953 kB / 0.5623 GB, free: 31.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.4615, allocations: 13.98 kB / 0.5623 GB, free: 31.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.4615, allocations: 0.75 kB / 0.5623 GB, free: 31.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.4615, allocations: 0.75 kB / 0.5623 GB, free: 31.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.4616, allocations: 3.375 kB / 0.5623 GB, free: 31.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.914e-05/0.4616, allocations: 114.7 kB / 0.5624 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.4616, allocations: 13.06 kB / 0.5624 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.4618, allocations: 65.81 kB / 0.5625 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4618, allocations: 0 / 0.5625 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4618, allocations: 1.312 kB / 0.5625 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4618, allocations: 1.266 kB / 0.5625 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.753e-05/0.4619, allocations: 158.2 kB / 0.5626 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4619, allocations: 0.75 kB / 0.5626 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-05/0.462, allocations: 13.62 kB / 0.5626 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.462, allocations: 6.969 kB / 0.5626 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.462, allocations: 2.156 kB / 0.5627 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.462, allocations: 0 / 0.5627 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.462, allocations: 0 / 0.5627 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.4621, allocations: 77.19 kB / 0.5627 GB, free: 31.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.861e-05/0.4622, allocations: 94.86 kB / 0.5628 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.4622, allocations: 2.719 kB / 0.5628 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.323e-05/0.4622, allocations: 4.75 kB / 0.5628 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.4622, allocations: 2.203 kB / 0.5628 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.4623, allocations: 7.844 kB / 0.5628 GB, free: 30.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.008e-05/0.4623, allocations: 81.56 kB / 0.5629 GB, free: 30.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4623, allocations: 2.344 kB / 0.5629 GB, free: 30.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.4626, allocations: 43.45 kB / 0.563 GB, free: 30.84 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.0002552/0.4628, allocations: 154.2 kB / 0.5631 GB, free: 30.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.4629, allocations: 19.39 kB / 0.5631 GB, free: 30.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4629, allocations: 0.5938 kB / 0.5631 GB, free: 30.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.384e-05/0.463, allocations: 13.8 kB / 0.5631 GB, free: 30.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.4633, allocations: 9.766 kB / 0.5631 GB, free: 30.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.4636, allocations: 185.5 kB / 0.5633 GB, free: 30.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.4638, allocations: 0.6844 MB / 0.564 GB, free: 29.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.4638, allocations: 12.02 kB / 0.564 GB, free: 29.86 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4638, allocations: 0 / 0.564 GB, free: 29.86 MB / 446.1 MB Notification: Performance of Templates: time 0.003261/0.4671, allocations: 1.031 MB / 0.565 GB, free: 29.84 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)