Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.0009605/0.0009605, allocations: 80.75 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.001008/0.001008, allocations: 181 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.9355/0.9355, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.001766/0.001766, allocations: 237.8 kB / 260.5 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 0.6916/0.6916, allocations: 138.4 MB / 402.2 MB, free: 0.5273 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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 462.4 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.361e-05, allocations: 2.312 kB / 462.4 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002709/0.002733, allocations: 1.48 MB / 463.9 MB, free: 15.84 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00451/0.007243, allocations: 2.78 MB / 466.7 MB, free: 14.09 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.682e-05/0.00734, allocations: 1.75 kB / 466.7 MB, free: 14.09 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.007372, allocations: 6.781 kB / 466.7 MB, free: 14.09 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.787e-05/0.00745, allocations: 15.56 kB / 466.7 MB, free: 14.08 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00344/0.01089, allocations: 1.645 MB / 468.3 MB, free: 12.65 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.232e-05/0.01098, allocations: 47.67 kB / 468.4 MB, free: 12.6 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.604e-05/0.01102, allocations: 3.984 kB / 468.4 MB, free: 12.6 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.005e-05/0.01106, allocations: 15.98 kB / 468.4 MB, free: 12.58 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.296e-05/0.01108, allocations: 21.2 kB / 468.4 MB, free: 12.56 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.01109, allocations: 0 / 468.4 MB, free: 12.56 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001701/0.01279, allocations: 1.455 MB / 469.9 MB, free: 11.11 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.01281, allocations: 7.984 kB / 469.9 MB, free: 11.1 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.01283, allocations: 11.94 kB / 469.9 MB, free: 11.09 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.01411, allocations: 1.254 MB / 471.2 MB, free: 9.832 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.01411, allocations: 1.219 kB / 471.2 MB, free: 9.832 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.01412, allocations: 0 / 471.2 MB, free: 9.832 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.01412, allocations: 0 / 471.2 MB, free: 9.832 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.0003981/0.01452, allocations: 447.5 kB / 471.6 MB, free: 9.375 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.01455, allocations: 11.97 kB / 471.6 MB, free: 9.363 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.01458, allocations: 84.2 kB / 471.7 MB, free: 9.281 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.433e-05/0.01468, allocations: 197 kB / 471.9 MB, free: 9.062 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/0.01472, allocations: 156 kB / 472 MB, free: 8.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.01476, allocations: 152.1 kB / 472.2 MB, free: 8.762 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.176e-05/0.0148, allocations: 101.5 kB / 472.3 MB, free: 8.656 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.01482, allocations: 75.47 kB / 472.4 MB, free: 8.582 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.738e-05/0.01486, allocations: 156.4 kB / 472.5 MB, free: 8.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.149e-05/0.01489, allocations: 158.5 kB / 472.7 MB, free: 8.273 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.176e-05/0.01492, allocations: 154.5 kB / 472.8 MB, free: 8.121 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.01506, allocations: 354.3 kB / 473.2 MB, free: 7.762 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.235e-05/0.01512, allocations: 169.1 kB / 473.3 MB, free: 7.586 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.215e-05/0.01514, allocations: 88.91 kB / 473.4 MB, free: 7.496 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.01516, allocations: 75.28 kB / 473.5 MB, free: 7.422 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.01519, allocations: 106.6 kB / 473.6 MB, free: 7.309 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.01519, allocations: 5.344 kB / 473.6 MB, free: 7.305 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 4.209e-05/0.01524, allocations: 31.2 kB / 473.6 MB, free: 7.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.01528, allocations: 126.7 kB / 473.7 MB, free: 7.133 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.428e-05/0.01537, allocations: 134.6 kB / 473.9 MB, free: 6.988 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.01537, allocations: 25.7 kB / 473.9 MB, free: 6.957 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.0154, allocations: 93.33 kB / 474 MB, free: 6.863 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.0154, allocations: 0 / 474 MB, free: 6.863 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.01543, allocations: 21.7 kB / 474 MB, free: 6.836 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.27e-05/0.0155, allocations: 312.8 kB / 474.3 MB, free: 6.523 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.01551, allocations: 4 kB / 474.3 MB, free: 6.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.136e-06/0.01552, allocations: 4.734 kB / 474.3 MB, free: 6.516 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.7e-05/0.01555, allocations: 16.78 kB / 474.3 MB, free: 6.496 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01555, allocations: 0 / 474.3 MB, free: 6.496 MB / 426.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.765e-05/0.01561, allocations: 34.33 kB / 474.4 MB, free: 6.457 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.01562, allocations: 9.234 kB / 474.4 MB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.01564, allocations: 5.297 kB / 474.4 MB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.755e-06/0.01565, allocations: 1 kB / 474.4 MB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.186e-06/0.01565, allocations: 0.875 kB / 474.4 MB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.91e-07/0.01565, allocations: 0 / 474.4 MB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.476e-05/0.01567, allocations: 9.047 kB / 474.4 MB, free: 6.438 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.01567, allocations: 0 / 474.4 MB, free: 6.438 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.684e-05/0.01574, allocations: 185.1 kB / 474.6 MB, free: 6.246 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.01578, allocations: 108.8 kB / 474.7 MB, free: 6.137 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.01581, allocations: 112.8 kB / 474.8 MB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.212e-05/0.01585, allocations: 180.8 kB / 475 MB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.812e-05/0.01589, allocations: 190.3 kB / 475.2 MB, free: 5.648 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.767e-05/0.01594, allocations: 182.1 kB / 475.3 MB, free: 5.465 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.01606, allocations: 330 kB / 475.7 MB, free: 5.117 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-05/0.01609, allocations: 101.1 kB / 475.8 MB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.33e-05/0.01611, allocations: 112.9 kB / 475.9 MB, free: 4.895 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-05/0.01616, allocations: 185.2 kB / 476.1 MB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.111e-05/0.0162, allocations: 176.3 kB / 476.2 MB, free: 4.527 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.343e-05/0.01624, allocations: 184.2 kB / 476.4 MB, free: 4.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.869e-05/0.01628, allocations: 181.1 kB / 476.6 MB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.928e-05/0.01637, allocations: 307.7 kB / 476.9 MB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.103e-05/0.0164, allocations: 109.8 kB / 477 MB, free: 3.719 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.01645, allocations: 180.2 kB / 477.2 MB, free: 3.535 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.771e-05/0.01649, allocations: 105 kB / 477.3 MB, free: 3.426 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.01654, allocations: 188.9 kB / 477.5 MB, free: 3.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.01657, allocations: 102.2 kB / 477.6 MB, free: 3.125 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.157e-05/0.01659, allocations: 27.3 kB / 477.6 MB, free: 3.098 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01659, allocations: 0 / 477.6 MB, free: 3.098 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004954/0.01709, allocations: 291.8 kB / 477.9 MB, free: 2.812 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.0007872/0.01788, allocations: 0.5586 MB / 478.4 MB, free: 2.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.751e-05/0.01795, allocations: 50.47 kB / 478.5 MB, free: 2.191 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.01796, allocations: 6.344 kB / 478.5 MB, free: 2.188 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.01796, allocations: 0 / 478.5 MB, free: 2.188 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.01819, allocations: 472.7 kB / 478.9 MB, free: 1.723 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.01842, allocations: 222.9 kB / 479.2 MB, free: 1.484 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.952e-05/0.01845, allocations: 55.86 kB / 479.2 MB, free: 1.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.139e-05/0.01846, allocations: 0 / 479.2 MB, free: 1.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.255e-05/0.01851, allocations: 59.36 kB / 479.3 MB, free: 1.355 MB / 426.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01851, allocations: 0 / 479.3 MB, free: 1.355 MB / 426.7 MB Notification: Performance of Templates: time 0.00906/0.02757, allocations: 7.149 MB / 486.4 MB, free: 10.5 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5735404868610203]