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.0008443/0.0008444, allocations: 90.28 kB / 16.66 MB, free: 5.742 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.001011/0.001011, allocations: 181.7 kB / 17.58 MB, free: 5.477 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.399/1.399, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7589/0.7589, allocations: 115.5 MB / 408.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000406/0.0004061, allocations: 16 kB / 496.6 MB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4969/0.4974, allocations: 77.5 MB / 0.5606 GB, free: 36.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001524/0.4989, allocations: 1.075 MB / 0.5617 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.5007, allocations: 1.098 MB / 0.5628 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.609e-05/0.5008, allocations: 1.531 kB / 0.5628 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.5008, allocations: 1.406 kB / 0.5628 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.591e-05/0.5009, allocations: 5.953 kB / 0.5628 GB, free: 34.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005349/0.5014, allocations: 154.6 kB / 0.5629 GB, free: 34.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.437e-05/0.5015, allocations: 34.42 kB / 0.5629 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.961e-05/0.5015, allocations: 8.016 kB / 0.563 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.159e-05/0.5016, allocations: 15.55 kB / 0.563 GB, free: 34.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/0.5017, allocations: 13.08 kB / 0.563 GB, free: 34.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.5017, allocations: 3.219 kB / 0.563 GB, free: 34.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007119/0.5024, allocations: 427.5 kB / 0.5634 GB, free: 34.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.5024, allocations: 9.156 kB / 0.5634 GB, free: 34.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.5025, allocations: 36.17 kB / 0.5634 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.5027, allocations: 136.4 kB / 0.5636 GB, free: 34.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5028, allocations: 0 / 0.5636 GB, free: 34.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.5028, allocations: 1.438 kB / 0.5636 GB, free: 34.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.5028, allocations: 0 / 0.5636 GB, free: 34.41 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.0003928/0.5032, allocations: 377.5 kB / 0.5639 GB, free: 34.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.5032, allocations: 13 kB / 0.5639 GB, free: 34.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.5033, allocations: 8.453 kB / 0.5639 GB, free: 34.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.146e-05/0.5034, allocations: 168.1 kB / 0.5641 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.5034, allocations: 1.344 kB / 0.5641 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.5034, allocations: 6.438 kB / 0.5641 GB, free: 33.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.5035, allocations: 44.06 kB / 0.5642 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.5035, allocations: 0.75 kB / 0.5642 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.5035, allocations: 1.281 kB / 0.5642 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5036, allocations: 0.5 kB / 0.5642 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.323e-05/0.5036, allocations: 15.16 kB / 0.5642 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001511/0.5038, allocations: 162.2 kB / 0.5643 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.5039, allocations: 42.41 kB / 0.5644 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.233e-05/0.5039, allocations: 13.45 kB / 0.5644 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007931/0.5047, allocations: 0.992 MB / 0.5654 GB, free: 32.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.5048, allocations: 42.89 kB / 0.5654 GB, free: 32.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.5048, allocations: 1.75 kB / 0.5654 GB, free: 32.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.00017/0.5049, allocations: 57.06 kB / 0.5654 GB, free: 32.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.505, allocations: 52.41 kB / 0.5655 GB, free: 32.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.058e-05/0.505, allocations: 105.4 kB / 0.5656 GB, free: 32.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.5051, allocations: 27.48 kB / 0.5656 GB, free: 32.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.51e-05/0.5051, allocations: 83.3 kB / 0.5657 GB, free: 32.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.5051, allocations: 14.62 kB / 0.5657 GB, free: 32.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-05/0.5051, allocations: 11.12 kB / 0.5657 GB, free: 32.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.686e-05/0.5052, allocations: 320.5 kB / 0.566 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.5052, allocations: 4.344 kB / 0.566 GB, free: 31.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.518e-05/0.5053, allocations: 9.281 kB / 0.566 GB, free: 31.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.909e-05/0.5053, allocations: 21.17 kB / 0.5661 GB, free: 31.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5053, allocations: 1.344 kB / 0.5661 GB, free: 31.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.686e-05/0.5054, allocations: 56.11 kB / 0.5661 GB, free: 31.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.5054, allocations: 10.19 kB / 0.5661 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.5054, allocations: 0 / 0.5661 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.5054, allocations: 1.953 kB / 0.5661 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.5056, allocations: 19.03 kB / 0.5662 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.5056, allocations: 0 / 0.5662 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.242e-05/0.5056, allocations: 1.469 kB / 0.5662 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.5056, allocations: 2.328 kB / 0.5662 GB, free: 31.62 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.59e-05/0.5057, allocations: 115.9 kB / 0.5663 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.5057, allocations: 11.39 kB / 0.5663 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.5058, allocations: 61.31 kB / 0.5663 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5058, allocations: 0.6562 kB / 0.5663 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5058, allocations: 0 / 0.5663 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5059, allocations: 1.312 kB / 0.5663 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.854e-05/0.5059, allocations: 163.5 kB / 0.5665 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.506, allocations: 0 / 0.5665 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.106e-05/0.506, allocations: 14.23 kB / 0.5665 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.506, allocations: 5.375 kB / 0.5665 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.5061, allocations: 0.8906 kB / 0.5665 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5061, allocations: 2.188 kB / 0.5665 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5061, allocations: 3.938 kB / 0.5665 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.856e-05/0.5062, allocations: 78.86 kB / 0.5666 GB, free: 31.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.5062, allocations: 88.47 kB / 0.5667 GB, free: 31.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.5062, allocations: 5.094 kB / 0.5667 GB, free: 31.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.14e-05/0.5063, allocations: 1.672 kB / 0.5667 GB, free: 31.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.5063, allocations: 3.484 kB / 0.5667 GB, free: 31.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.5063, allocations: 2.156 kB / 0.5667 GB, free: 31.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.123e-05/0.5063, allocations: 82.84 kB / 0.5668 GB, free: 30.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5063, allocations: 5.469 kB / 0.5668 GB, free: 30.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000235/0.5066, allocations: 42.03 kB / 0.5668 GB, free: 30.98 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.000275/0.5068, allocations: 154.4 kB / 0.567 GB, free: 30.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.507, allocations: 23.88 kB / 0.567 GB, free: 30.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.507, allocations: 1.031 kB / 0.567 GB, free: 30.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.324e-05/0.507, allocations: 9.109 kB / 0.567 GB, free: 30.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.5072, allocations: 10.98 kB / 0.567 GB, free: 30.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.5076, allocations: 209.6 kB / 0.5672 GB, free: 30.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.5077, allocations: 0.6794 MB / 0.5679 GB, free: 30 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.5077, allocations: 10.25 kB / 0.5679 GB, free: 29.99 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5078, allocations: 2.469 kB / 0.5679 GB, free: 29.99 MB / 446.1 MB Notification: Performance of Templates: time 0.003538/0.5113, allocations: 1.033 MB / 0.5689 GB, free: 29.96 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)