Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9185/0.9185, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001653/0.001653, allocations: 246 kB / 261.3 MB, free: 12.67 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7256/0.7256, allocations: 138.4 MB / 456.3 MB, free: 1.422 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.5564 GB, free: 184 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.26e-05, allocations: 6.25 kB / 0.5565 GB, free: 176 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002399/0.002421, allocations: 1.41 MB / 0.5578 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.003983, allocations: 1.083 MB / 0.5589 GB, free: 13.65 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.459e-05/0.004017, allocations: 0 / 0.5589 GB, free: 13.65 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.066e-05/0.004038, allocations: 3.938 kB / 0.5589 GB, free: 13.65 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.501e-05/0.004093, allocations: 3.938 kB / 0.5589 GB, free: 13.64 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006134/0.004707, allocations: 231.1 kB / 0.5591 GB, free: 13.42 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.35e-05/0.00477, allocations: 31.8 kB / 0.5591 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.004808, allocations: 4 kB / 0.5592 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.995e-05/0.004908, allocations: 15.98 kB / 0.5592 GB, free: 13.37 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.975e-05/0.004958, allocations: 11.92 kB / 0.5592 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.004969, allocations: 7.938 kB / 0.5592 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000546/0.005515, allocations: 407.4 kB / 0.5596 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.005526, allocations: 0 / 0.5596 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.034e-05/0.005546, allocations: 11.94 kB / 0.5596 GB, free: 12.94 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.00588, allocations: 251.3 kB / 0.5598 GB, free: 12.69 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.005883, allocations: 0 / 0.5598 GB, free: 12.69 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.005885, allocations: 4 kB / 0.5598 GB, free: 12.69 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.005889, allocations: 0 / 0.5598 GB, free: 12.69 MB / 490.7 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.000381/0.00627, allocations: 423.9 kB / 0.5602 GB, free: 12.24 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.006306, allocations: 8.75 kB / 0.5602 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.006334, allocations: 4.938 kB / 0.5602 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.599e-05/0.00642, allocations: 116.5 kB / 0.5604 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.006431, allocations: 384 / 0.5604 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-06/0.006437, allocations: 384 / 0.5604 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.635e-05/0.006504, allocations: 42.25 kB / 0.5604 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.006511, allocations: 192 / 0.5604 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.006517, allocations: 4.375 kB / 0.5604 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.006523, allocations: 3.938 kB / 0.5604 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.53e-05/0.006549, allocations: 7.984 kB / 0.5604 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.006665, allocations: 101.2 kB / 0.5605 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.15e-05/0.006736, allocations: 47.03 kB / 0.5606 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/0.006756, allocations: 11.72 kB / 0.5606 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003659/0.007122, allocations: 99.95 kB / 0.5607 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.007145, allocations: 33.39 kB / 0.5607 GB, free: 11.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.007146, allocations: 0 / 0.5607 GB, free: 11.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001259/0.007272, allocations: 53.75 kB / 0.5607 GB, free: 11.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.007303, allocations: 55.41 kB / 0.5608 GB, free: 11.56 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.491e-05/0.007388, allocations: 177.8 kB / 0.561 GB, free: 11.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.007417, allocations: 25.7 kB / 0.561 GB, free: 11.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.007456, allocations: 134.9 kB / 0.5611 GB, free: 11.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.007481, allocations: 7.906 kB / 0.5611 GB, free: 11.19 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.007511, allocations: 27.36 kB / 0.5612 GB, free: 11.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.007616, allocations: 0.4884 MB / 0.5616 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.007628, allocations: 0 / 0.5616 GB, free: 10.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.123e-05/0.007639, allocations: 7.984 kB / 0.5616 GB, free: 10.65 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.633e-05/0.007665, allocations: 15.69 kB / 0.5617 GB, free: 10.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.007667, allocations: 0 / 0.5617 GB, free: 10.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.138e-05/0.007728, allocations: 61.52 kB / 0.5617 GB, free: 10.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.007738, allocations: 4 kB / 0.5617 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.007742, allocations: 4 kB / 0.5617 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.692e-06/0.007749, allocations: 0 / 0.5617 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.219e-05/0.007821, allocations: 12 kB / 0.5617 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.007824, allocations: 0 / 0.5617 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.378e-05/0.007838, allocations: 3.938 kB / 0.5617 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.007842, allocations: 3.984 kB / 0.5617 GB, free: 10.54 MB / 490.7 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.659e-05/0.007899, allocations: 160.6 kB / 0.5619 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-06/0.007904, allocations: 0 / 0.5619 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.245e-05/0.007976, allocations: 61.62 kB / 0.5619 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.007979, allocations: 0 / 0.5619 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.007981, allocations: 4 kB / 0.562 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.007984, allocations: 3.938 kB / 0.562 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.525e-05/0.008059, allocations: 113.2 kB / 0.5621 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.00806, allocations: 0 / 0.5621 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.666e-05/0.008096, allocations: 12 kB / 0.5621 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.008097, allocations: 0 / 0.5621 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-06/0.008102, allocations: 3.984 kB / 0.5621 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.008102, allocations: 0 / 0.5621 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.008103, allocations: 0 / 0.5621 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.941e-05/0.008163, allocations: 92.36 kB / 0.5622 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-06/0.008169, allocations: 7.891 kB / 0.5622 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.963e-06/0.008176, allocations: 4 kB / 0.5622 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-06/0.008185, allocations: 0 / 0.5622 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-06/0.008194, allocations: 3.938 kB / 0.5622 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.008196, allocations: 0 / 0.5622 GB, free: 10.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.785e-05/0.008244, allocations: 135.2 kB / 0.5623 GB, free: 9.879 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008244, allocations: 0 / 0.5623 GB, free: 9.879 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001534/0.008398, allocations: 35.88 kB / 0.5623 GB, free: 9.844 MB / 490.7 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.0001531/0.008551, allocations: 171 kB / 0.5625 GB, free: 9.668 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.796e-05/0.008609, allocations: 31.83 kB / 0.5625 GB, free: 9.633 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.00861, allocations: 0 / 0.5625 GB, free: 9.633 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.239e-05/0.008623, allocations: 19.72 kB / 0.5626 GB, free: 9.609 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.008739, allocations: 4 kB / 0.5626 GB, free: 9.605 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002334/0.008973, allocations: 153.3 kB / 0.5627 GB, free: 9.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.424e-05/0.008997, allocations: 59.36 kB / 0.5628 GB, free: 9.352 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.444e-05/0.009021, allocations: 11.64 kB / 0.5628 GB, free: 9.344 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.009063, allocations: 74.2 kB / 0.5628 GB, free: 9.27 MB / 490.7 MB Notification: Performance of SimCode: time 7.51e-07/0.009064, allocations: 0 / 0.5628 GB, free: 9.27 MB / 490.7 MB Notification: Performance of Templates: time 0.002557/0.01162, allocations: 1.468 MB / 0.5643 GB, free: 7.859 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4786475989967585]