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.001302/0.001302, allocations: 80.3 kB / 19.18 MB, free: 2.52 MB / 14.72 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.00145/0.00145, allocations: 161.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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.427/1.427, allocations: 177.2 MB / 202.8 MB, free: 9.148 MB / 190.1 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.002483/0.002483, allocations: 241.5 kB / 259.4 MB, free: 452 kB / 238.1 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.3 MB, free: 2.023 MB / 366.1 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.473e-06/1.473e-06, allocations: 3.938 kB / 0.6469 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.164e-05, allocations: 2.281 kB / 0.6469 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002369/0.002391, allocations: 1.431 MB / 0.6483 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004329/0.006719, allocations: 2.634 MB / 0.6509 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.55e-05/0.006755, allocations: 0 / 0.6509 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.95e-05/0.006774, allocations: 7.922 kB / 0.6509 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.632e-05/0.006831, allocations: 11.92 kB / 0.6509 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.2495/0.2563, allocations: 1.617 MB / 0.6525 GB, free: 53.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.36e-05/0.2564, allocations: 46.73 kB / 0.6525 GB, free: 53.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.2565, allocations: 3.312 kB / 0.6525 GB, free: 53.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.867e-05/0.2565, allocations: 19.77 kB / 0.6525 GB, free: 53.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.381e-05/0.2565, allocations: 14.02 kB / 0.6525 GB, free: 53.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.2566, allocations: 0 / 0.6525 GB, free: 53.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001949/0.2585, allocations: 1.462 MB / 0.654 GB, free: 53.33 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.2585, allocations: 4.5 kB / 0.654 GB, free: 53.33 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.2585, allocations: 13.5 kB / 0.654 GB, free: 53.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.26, allocations: 1.23 MB / 0.6552 GB, free: 53.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.26, allocations: 0.5312 kB / 0.6552 GB, free: 53.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.374e-06/0.26, allocations: 4.656 kB / 0.6552 GB, free: 53.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.26, allocations: 0 / 0.6552 GB, free: 53.27 MB / 0.5606 GB 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.0004945/0.2605, allocations: 473.7 kB / 0.6556 GB, free: 52.87 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2605, allocations: 10.12 kB / 0.6557 GB, free: 52.87 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.96e-05/0.2606, allocations: 80.31 kB / 0.6557 GB, free: 52.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.974e-05/0.2607, allocations: 201.4 kB / 0.6559 GB, free: 52.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.2607, allocations: 153.6 kB / 0.6561 GB, free: 52.44 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.2607, allocations: 155 kB / 0.6562 GB, free: 52.29 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.285e-05/0.2608, allocations: 101.5 kB / 0.6563 GB, free: 52.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.2608, allocations: 78.94 kB / 0.6564 GB, free: 52.11 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.2608, allocations: 152.5 kB / 0.6565 GB, free: 51.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.2608, allocations: 157.7 kB / 0.6567 GB, free: 51.81 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.574e-05/0.2608, allocations: 155.8 kB / 0.6568 GB, free: 51.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.261, allocations: 410.3 kB / 0.6572 GB, free: 51.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.728e-05/0.2611, allocations: 165.9 kB / 0.6574 GB, free: 51.08 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.183e-05/0.2611, allocations: 95.8 kB / 0.6575 GB, free: 50.99 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.2611, allocations: 75.28 kB / 0.6575 GB, free: 50.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.2611, allocations: 108.9 kB / 0.6576 GB, free: 50.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.2611, allocations: 0 / 0.6576 GB, free: 50.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.896e-05/0.2612, allocations: 33.31 kB / 0.6577 GB, free: 50.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.2612, allocations: 134.3 kB / 0.6578 GB, free: 50.63 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.2613, allocations: 133.4 kB / 0.6579 GB, free: 50.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.281e-06/0.2613, allocations: 26.27 kB / 0.658 GB, free: 50.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.356e-05/0.2614, allocations: 87.45 kB / 0.658 GB, free: 50.42 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.2614, allocations: 0 / 0.658 GB, free: 50.42 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.2614, allocations: 18 kB / 0.6581 GB, free: 50.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.541e-05/0.2614, allocations: 320 kB / 0.6584 GB, free: 50.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.467e-05/0.2615, allocations: 7.031 kB / 0.6584 GB, free: 50.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.493e-05/0.2615, allocations: 4.25 kB / 0.6584 GB, free: 50.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.25e-05/0.2615, allocations: 14.41 kB / 0.6584 GB, free: 50.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2615, allocations: 0 / 0.6584 GB, free: 50.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001166/0.2616, allocations: 54.34 kB / 0.6584 GB, free: 50.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.2616, allocations: 6.359 kB / 0.6585 GB, free: 50.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.2616, allocations: 4.75 kB / 0.6585 GB, free: 50.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2617, allocations: 0 / 0.6585 GB, free: 50.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.134e-06/0.2617, allocations: 7.844 kB / 0.6585 GB, free: 50.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.2617, allocations: 0 / 0.6585 GB, free: 50.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/0.2617, allocations: 1.25 kB / 0.6585 GB, free: 50.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.2617, allocations: 0 / 0.6585 GB, free: 50.04 MB / 0.5606 GB 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 4.911e-05/0.2617, allocations: 195.6 kB / 0.6587 GB, free: 49.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.2618, allocations: 108.2 kB / 0.6588 GB, free: 49.74 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.2618, allocations: 114.5 kB / 0.6589 GB, free: 49.63 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/0.2618, allocations: 180.5 kB / 0.659 GB, free: 49.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.517e-05/0.2619, allocations: 186.5 kB / 0.6592 GB, free: 49.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.408e-05/0.2619, allocations: 181.3 kB / 0.6594 GB, free: 49.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.262, allocations: 365.2 kB / 0.6597 GB, free: 48.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/0.262, allocations: 104.1 kB / 0.6598 GB, free: 48.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.315e-05/0.262, allocations: 107.9 kB / 0.6599 GB, free: 48.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.16e-05/0.2621, allocations: 181.3 kB / 0.6601 GB, free: 48.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.2621, allocations: 187.2 kB / 0.6603 GB, free: 48.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.36e-05/0.2621, allocations: 179.6 kB / 0.6605 GB, free: 47.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.243e-05/0.2621, allocations: 184 kB / 0.6606 GB, free: 47.78 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.053e-05/0.2622, allocations: 305.3 kB / 0.6609 GB, free: 47.47 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.2622, allocations: 114.9 kB / 0.661 GB, free: 47.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.2622, allocations: 176.3 kB / 0.6612 GB, free: 47.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.992e-05/0.2623, allocations: 116.3 kB / 0.6613 GB, free: 47.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.2623, allocations: 184.3 kB / 0.6615 GB, free: 46.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.2623, allocations: 107.5 kB / 0.6616 GB, free: 46.78 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.841e-05/0.2624, allocations: 103.2 kB / 0.6617 GB, free: 46.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2624, allocations: 0 / 0.6617 GB, free: 46.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006866/0.2631, allocations: 285.5 kB / 0.662 GB, free: 46.65 MB / 0.5606 GB 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.0009326/0.264, allocations: 0.5731 MB / 0.6625 GB, free: 46.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.314e-05/0.2641, allocations: 39.89 kB / 0.6626 GB, free: 46.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2641, allocations: 1.031 kB / 0.6626 GB, free: 46.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.465e-06/0.2641, allocations: 3.281 kB / 0.6626 GB, free: 46.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.2644, allocations: 469.4 kB / 0.663 GB, free: 45.94 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002556/0.2647, allocations: 225.8 kB / 0.6632 GB, free: 45.74 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.069e-05/0.2647, allocations: 64.86 kB / 0.6633 GB, free: 45.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.253e-05/0.2647, allocations: 4.062 kB / 0.6633 GB, free: 45.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.2647, allocations: 8.5 kB / 0.6633 GB, free: 45.66 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.2647, allocations: 0 / 0.6633 GB, free: 45.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.009235/0.274, allocations: 5.743 MB / 0.6689 GB, free: 45.24 MB / 0.5606 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.910362116992474] Failed to read output from testmodel.py, exit status != 0: 0.28166965395212173 0.292634999 0.029976525 Calling exit ...