Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.0008831/0.0008831, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001935/0.001935, allocations: 173 kB / 23.36 MB, free: 1.133 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 0.9273/0.9273, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.00175/0.00175, allocations: 243.1 kB / 260.5 MB, free: 12.68 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.7026/0.7026, allocations: 138.4 MB / 402.2 MB, free: 0.5312 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 462.4 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.128e-05, allocations: 2.312 kB / 462.4 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002262/0.002283, allocations: 1.535 MB / 464 MB, free: 15.84 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003754/0.006037, allocations: 2.832 MB / 466.8 MB, free: 14.06 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.00609, allocations: 0 / 466.8 MB, free: 14.06 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.006112, allocations: 5.219 kB / 466.8 MB, free: 14.06 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.392e-05/0.006176, allocations: 17.41 kB / 466.8 MB, free: 14.04 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003062/0.009237, allocations: 1.576 MB / 468.4 MB, free: 12.61 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.625e-05/0.009314, allocations: 48.61 kB / 468.5 MB, free: 12.57 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.009348, allocations: 7.922 kB / 468.5 MB, free: 12.56 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.177e-05/0.00939, allocations: 25.92 kB / 468.5 MB, free: 12.54 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.159e-05/0.009412, allocations: 11.98 kB / 468.5 MB, free: 12.52 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.009421, allocations: 0 / 468.5 MB, free: 12.52 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.01135, allocations: 1.583 MB / 470.1 MB, free: 10.94 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.01136, allocations: 13.14 kB / 470.1 MB, free: 10.93 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.437e-05/0.01139, allocations: 11.94 kB / 470.1 MB, free: 10.91 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.01276, allocations: 1.286 MB / 471.4 MB, free: 9.625 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.01277, allocations: 1.062 kB / 471.4 MB, free: 9.625 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01277, allocations: 0 / 471.4 MB, free: 9.625 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.01277, allocations: 0 / 471.4 MB, free: 9.625 MB / 426.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.0004217/0.01319, allocations: 451 kB / 471.8 MB, free: 9.164 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.01322, allocations: 8.031 kB / 471.8 MB, free: 9.156 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.01326, allocations: 76.22 kB / 471.9 MB, free: 9.082 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.779e-05/0.01335, allocations: 193.7 kB / 472.1 MB, free: 8.867 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.01338, allocations: 150.9 kB / 472.3 MB, free: 8.719 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.01342, allocations: 164.4 kB / 472.4 MB, free: 8.559 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.047e-05/0.01346, allocations: 101.5 kB / 472.5 MB, free: 8.453 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.01347, allocations: 76.27 kB / 472.6 MB, free: 8.379 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.01351, allocations: 154.7 kB / 472.7 MB, free: 8.227 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/0.01354, allocations: 160.1 kB / 472.9 MB, free: 8.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.06e-05/0.01357, allocations: 154.5 kB / 473.1 MB, free: 7.918 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.01371, allocations: 353.3 kB / 473.4 MB, free: 7.559 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.932e-05/0.01377, allocations: 165.1 kB / 473.6 MB, free: 7.387 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.273e-05/0.01379, allocations: 88.14 kB / 473.6 MB, free: 7.301 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.01381, allocations: 75.28 kB / 473.7 MB, free: 7.227 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.01385, allocations: 114.6 kB / 473.8 MB, free: 7.105 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.01385, allocations: 1.125 kB / 473.8 MB, free: 7.105 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 5.05e-05/0.0139, allocations: 33.69 kB / 473.9 MB, free: 7.066 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.01394, allocations: 126.7 kB / 474 MB, free: 6.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/0.01426, allocations: 141.2 kB / 474.1 MB, free: 6.781 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.01427, allocations: 29.64 kB / 474.2 MB, free: 6.746 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.511e-05/0.0143, allocations: 88.97 kB / 474.2 MB, free: 6.656 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.292e-06/0.0143, allocations: 0 / 474.2 MB, free: 6.656 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/0.01432, allocations: 22.81 kB / 474.3 MB, free: 6.629 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.623e-05/0.01439, allocations: 318.8 kB / 474.6 MB, free: 6.309 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.0144, allocations: 0 / 474.6 MB, free: 6.309 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-06/0.01441, allocations: 4.469 kB / 474.6 MB, free: 6.305 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.9e-05/0.01444, allocations: 24.06 kB / 474.6 MB, free: 6.281 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.01444, allocations: 0 / 474.6 MB, free: 6.281 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.468e-05/0.0145, allocations: 34.52 kB / 474.6 MB, free: 6.242 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.01451, allocations: 4 kB / 474.6 MB, free: 6.238 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.01453, allocations: 4 kB / 474.6 MB, free: 6.234 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.01454, allocations: 0 / 474.6 MB, free: 6.234 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.303e-06/0.01454, allocations: 0 / 474.6 MB, free: 6.234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.01454, allocations: 4.672 kB / 474.6 MB, free: 6.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.607e-05/0.01456, allocations: 9.812 kB / 474.7 MB, free: 6.223 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.01456, allocations: 0.6875 kB / 474.7 MB, free: 6.223 MB / 426.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 6.026e-05/0.01462, allocations: 186.3 kB / 474.8 MB, free: 6.031 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.01466, allocations: 104.9 kB / 474.9 MB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.01469, allocations: 108.8 kB / 475 MB, free: 5.812 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.648e-05/0.01473, allocations: 195 kB / 475.2 MB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.513e-05/0.01476, allocations: 180.3 kB / 475.4 MB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.589e-05/0.0148, allocations: 180.2 kB / 475.6 MB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.01492, allocations: 330 kB / 475.9 MB, free: 4.902 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/0.01494, allocations: 101.1 kB / 476 MB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.173e-05/0.01496, allocations: 108.9 kB / 476.1 MB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.433e-05/0.015, allocations: 180.3 kB / 476.3 MB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.01503, allocations: 176.3 kB / 476.5 MB, free: 4.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.706e-05/0.01507, allocations: 192.9 kB / 476.7 MB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.638e-05/0.01511, allocations: 180.3 kB / 476.8 MB, free: 3.941 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.262e-05/0.01519, allocations: 305 kB / 477.1 MB, free: 3.621 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.01522, allocations: 117.4 kB / 477.2 MB, free: 3.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.01526, allocations: 176.3 kB / 477.4 MB, free: 3.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.058e-05/0.01531, allocations: 106.1 kB / 477.5 MB, free: 3.211 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.01535, allocations: 184.2 kB / 477.7 MB, free: 3.023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.01537, allocations: 105.5 kB / 477.8 MB, free: 2.914 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.312e-05/0.0154, allocations: 35.48 kB / 477.8 MB, free: 2.875 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0154, allocations: 0 / 477.8 MB, free: 2.875 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004626/0.01586, allocations: 291 kB / 478.1 MB, free: 2.59 MB / 426.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.0007291/0.01659, allocations: 0.5701 MB / 478.7 MB, free: 2.016 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.5e-05/0.01665, allocations: 46.44 kB / 478.7 MB, free: 1.961 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.01666, allocations: 7.938 kB / 478.7 MB, free: 1.953 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.01666, allocations: 0.9062 kB / 478.7 MB, free: 1.953 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.01687, allocations: 463.2 kB / 479.2 MB, free: 1.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000208/0.01708, allocations: 236.5 kB / 479.4 MB, free: 1.246 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.953e-05/0.01711, allocations: 59.34 kB / 479.5 MB, free: 1.168 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.002e-05/0.01712, allocations: 0.9062 kB / 479.5 MB, free: 1.168 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.01716, allocations: 51.38 kB / 479.5 MB, free: 1.121 MB / 426.7 MB Notification: Performance of SimCode: time 3.61e-07/0.01716, allocations: 5.062 kB / 479.5 MB, free: 1.117 MB / 426.7 MB Notification: Performance of Templates: time 0.008647/0.02581, allocations: 7.327 MB / 486.9 MB, free: 10.08 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.669108316767961]