Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.001363/0.001363, allocations: 84.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001453/0.001453, allocations: 157.7 kB / 22.76 MB, free: 1.68 MB / 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 1.432/1.432, allocations: 177.1 MB / 203.1 MB, free: 5.273 MB / 186.7 MB " [Timeout remaining time 178] 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.002569/0.002569, allocations: 243.2 kB / 259.8 MB, free: 12.71 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 1.074/1.074, allocations: 138.4 MB / 454.7 MB, free: 1.477 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.5544 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.494e-05, allocations: 6.25 kB / 0.5544 GB, free: 0.75 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002734/0.002759, allocations: 1.423 MB / 0.5558 GB, free: 15.31 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00489/0.007649, allocations: 2.635 MB / 0.5584 GB, free: 12.66 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.00768, allocations: 0 / 0.5584 GB, free: 12.66 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.007707, allocations: 11.92 kB / 0.5584 GB, free: 12.65 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.313e-05/0.00777, allocations: 19.8 kB / 0.5584 GB, free: 12.63 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004299/0.01207, allocations: 1.623 MB / 0.56 GB, free: 11.01 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.402e-05/0.01216, allocations: 39.67 kB / 0.56 GB, free: 10.97 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.194e-05/0.01219, allocations: 4 kB / 0.56 GB, free: 10.97 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.646e-05/0.01224, allocations: 23.91 kB / 0.5601 GB, free: 10.95 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.633e-05/0.01227, allocations: 8 kB / 0.5601 GB, free: 10.94 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.01228, allocations: 3.984 kB / 0.5601 GB, free: 10.93 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002535/0.01482, allocations: 1.458 MB / 0.5615 GB, free: 9.473 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.01483, allocations: 7.938 kB / 0.5615 GB, free: 9.465 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.01486, allocations: 8 kB / 0.5615 GB, free: 9.457 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.01689, allocations: 1.251 MB / 0.5627 GB, free: 8.203 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.01689, allocations: 0 / 0.5627 GB, free: 8.203 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01689, allocations: 0 / 0.5627 GB, free: 8.203 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.01689, allocations: 0 / 0.5627 GB, free: 8.203 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008416/0.01774, allocations: 468.1 kB / 0.5632 GB, free: 7.715 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.01777, allocations: 12.03 kB / 0.5632 GB, free: 7.703 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.634e-05/0.01785, allocations: 80.17 kB / 0.5633 GB, free: 7.625 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.01802, allocations: 193 kB / 0.5635 GB, free: 7.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.89e-05/0.01811, allocations: 154.9 kB / 0.5636 GB, free: 7.258 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/0.01819, allocations: 154.9 kB / 0.5638 GB, free: 7.105 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.03e-05/0.01827, allocations: 101.5 kB / 0.5639 GB, free: 7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.464e-05/0.01832, allocations: 79.47 kB / 0.5639 GB, free: 6.922 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-05/0.0184, allocations: 158.7 kB / 0.5641 GB, free: 6.766 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.896e-05/0.01848, allocations: 150.6 kB / 0.5642 GB, free: 6.617 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.16e-05/0.01856, allocations: 150.6 kB / 0.5644 GB, free: 6.469 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.01891, allocations: 429.5 kB / 0.5648 GB, free: 6.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.01903, allocations: 169.1 kB / 0.5649 GB, free: 5.844 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.326e-05/0.01908, allocations: 80.14 kB / 0.565 GB, free: 5.762 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/0.01913, allocations: 75.28 kB / 0.5651 GB, free: 5.688 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.86e-05/0.0192, allocations: 113.8 kB / 0.5652 GB, free: 5.566 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 6.82e-07/0.0192, allocations: 0 / 0.5652 GB, free: 5.566 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 8.47e-05/0.01928, allocations: 33.59 kB / 0.5652 GB, free: 5.527 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.476e-05/0.01937, allocations: 134.6 kB / 0.5654 GB, free: 5.383 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.01953, allocations: 136.9 kB / 0.5655 GB, free: 5.242 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.01954, allocations: 25.7 kB / 0.5655 GB, free: 5.211 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.077e-05/0.01962, allocations: 96.08 kB / 0.5656 GB, free: 5.113 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-06/0.01962, allocations: 0 / 0.5656 GB, free: 5.113 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.01966, allocations: 17.72 kB / 0.5656 GB, free: 5.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.01982, allocations: 314.8 kB / 0.5659 GB, free: 4.773 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.577e-05/0.01985, allocations: 7.984 kB / 0.5659 GB, free: 4.766 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.607e-05/0.01987, allocations: 8 kB / 0.5659 GB, free: 4.758 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.756e-05/0.01991, allocations: 12.86 kB / 0.5659 GB, free: 4.742 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01992, allocations: 0 / 0.5659 GB, free: 4.742 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000138/0.02005, allocations: 45.64 kB / 0.566 GB, free: 4.691 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.02007, allocations: 7.984 kB / 0.566 GB, free: 4.684 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.02009, allocations: 4 kB / 0.566 GB, free: 4.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.02011, allocations: 3.938 kB / 0.566 GB, free: 4.676 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.02011, allocations: 0 / 0.566 GB, free: 4.676 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.02011, allocations: 3.984 kB / 0.566 GB, free: 4.672 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.259e-05/0.02014, allocations: 7.891 kB / 0.566 GB, free: 4.664 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.02014, allocations: 8.109 kB / 0.566 GB, free: 4.656 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001266/0.02027, allocations: 185.1 kB / 0.5662 GB, free: 4.465 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.058e-05/0.02035, allocations: 109 kB / 0.5663 GB, free: 4.352 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.351e-05/0.02043, allocations: 116.7 kB / 0.5664 GB, free: 4.234 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.723e-05/0.02052, allocations: 180.2 kB / 0.5666 GB, free: 4.051 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.833e-05/0.02062, allocations: 184.2 kB / 0.5668 GB, free: 3.863 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.867e-05/0.02072, allocations: 180.3 kB / 0.5669 GB, free: 3.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.021, allocations: 356.9 kB / 0.5673 GB, free: 3.293 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.045e-05/0.02106, allocations: 112.9 kB / 0.5674 GB, free: 3.176 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.02111, allocations: 101 kB / 0.5675 GB, free: 3.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.761e-05/0.02121, allocations: 188.2 kB / 0.5677 GB, free: 2.879 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.952e-05/0.02131, allocations: 180.3 kB / 0.5678 GB, free: 2.695 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.629e-05/0.02141, allocations: 180.3 kB / 0.568 GB, free: 2.512 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000102/0.02151, allocations: 184.1 kB / 0.5682 GB, free: 2.324 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.02171, allocations: 311.7 kB / 0.5685 GB, free: 1.996 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.438e-05/0.02179, allocations: 112.9 kB / 0.5686 GB, free: 1.879 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.0219, allocations: 180.2 kB / 0.5688 GB, free: 1.695 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.022, allocations: 105 kB / 0.5689 GB, free: 1.586 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.02211, allocations: 184.2 kB / 0.569 GB, free: 1.398 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.073e-05/0.02217, allocations: 108.9 kB / 0.5691 GB, free: 1.285 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.846e-05/0.02225, allocations: 102.4 kB / 0.5692 GB, free: 1.188 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02225, allocations: 4 kB / 0.5692 GB, free: 1.184 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008107/0.02306, allocations: 291 kB / 0.5695 GB, free: 0.8984 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 (0): * Single equations (assignments): 0 * 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.001343/0.0244, allocations: 0.5678 MB / 0.5701 GB, free: 328 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.498e-05/0.0245, allocations: 37.7 kB / 0.5701 GB, free: 284 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.0245, allocations: 0 / 0.5701 GB, free: 284 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.0245, allocations: 0 / 0.5701 GB, free: 284 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000505/0.025, allocations: 463.7 kB / 0.5705 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.02535, allocations: 238.8 kB / 0.5708 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.851e-05/0.02542, allocations: 63.34 kB / 0.5708 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.098e-05/0.02543, allocations: 0 / 0.5708 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/0.02545, allocations: 8.5 kB / 0.5708 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/0.02545, allocations: 4 kB / 0.5708 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of Templates: time 0.01177/0.03722, allocations: 5.797 MB / 0.5765 GB, free: 9.727 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.674987243954092]