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.000836/0.000836, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008308/0.0008308, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.897/0.897, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.001484/0.001484, allocations: 225.5 kB / 260.2 MB, free: 13.03 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.6847/0.6847, allocations: 138.4 MB / 455.1 MB, free: 30.01 MB / 410.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.813e-06/1.813e-06, allocations: 0 / 0.6476 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.517e-05, allocations: 9.312 kB / 0.6476 GB, free: 1.254 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.2562/0.2562, allocations: 1.42 MB / 0.649 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003184/0.2594, allocations: 2.634 MB / 0.6516 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.2594, allocations: 1.875 kB / 0.6516 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.352e-05/0.2594, allocations: 5.578 kB / 0.6516 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.418e-05/0.2595, allocations: 19.22 kB / 0.6516 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.2622, allocations: 1.632 MB / 0.6532 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.84e-05/0.2623, allocations: 42.48 kB / 0.6532 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.598e-05/0.2623, allocations: 1.562 kB / 0.6532 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.292e-05/0.2624, allocations: 20.05 kB / 0.6533 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.203e-05/0.2624, allocations: 13.55 kB / 0.6533 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.2624, allocations: 8.719 kB / 0.6533 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.264, allocations: 1.453 MB / 0.6547 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.264, allocations: 2.891 kB / 0.6547 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.264, allocations: 13 kB / 0.6547 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.2654, allocations: 1.239 MB / 0.6559 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2654, allocations: 0 / 0.6559 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2654, allocations: 0 / 0.6559 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.2654, allocations: 0 / 0.6559 GB, free: 53.96 MB / 0.5573 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.0004664/0.2658, allocations: 471.8 kB / 0.6564 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2659, allocations: 9.781 kB / 0.6564 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.2659, allocations: 80.83 kB / 0.6565 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.229e-05/0.266, allocations: 198.2 kB / 0.6567 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.266, allocations: 153.2 kB / 0.6568 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.266, allocations: 154.9 kB / 0.6569 GB, free: 52.97 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.638e-05/0.2661, allocations: 103.6 kB / 0.657 GB, free: 52.87 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2661, allocations: 76.59 kB / 0.6571 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.2661, allocations: 156.8 kB / 0.6573 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.2661, allocations: 155.6 kB / 0.6574 GB, free: 52.49 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.592e-05/0.2661, allocations: 150.6 kB / 0.6576 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.2663, allocations: 408.8 kB / 0.6579 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.848e-05/0.2663, allocations: 183.2 kB / 0.6581 GB, free: 51.74 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.24e-05/0.2663, allocations: 81.14 kB / 0.6582 GB, free: 51.66 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.2663, allocations: 76.66 kB / 0.6583 GB, free: 51.59 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.2663, allocations: 109.5 kB / 0.6584 GB, free: 51.47 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.2664, allocations: 0 / 0.6584 GB, free: 51.47 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 5.27e-05/0.2664, allocations: 35.88 kB / 0.6584 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.2664, allocations: 135.9 kB / 0.6585 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.423e-05/0.2665, allocations: 137.4 kB / 0.6587 GB, free: 51.18 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.879e-06/0.2665, allocations: 25.7 kB / 0.6587 GB, free: 51.14 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.2666, allocations: 91.78 kB / 0.6588 GB, free: 51.06 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.2666, allocations: 0.75 kB / 0.6588 GB, free: 51.06 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.2666, allocations: 19.47 kB / 0.6588 GB, free: 51.04 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.145e-05/0.2666, allocations: 324.8 kB / 0.6591 GB, free: 50.72 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.2666, allocations: 1.406 kB / 0.6591 GB, free: 50.72 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.275e-05/0.2666, allocations: 4.578 kB / 0.6591 GB, free: 50.72 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.079e-05/0.2667, allocations: 18.41 kB / 0.6591 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2667, allocations: 0 / 0.6591 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.467e-05/0.2668, allocations: 49.34 kB / 0.6592 GB, free: 50.67 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.2668, allocations: 6.031 kB / 0.6592 GB, free: 50.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.2668, allocations: 3.062 kB / 0.6592 GB, free: 50.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2668, allocations: 7.203 kB / 0.6592 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.2668, allocations: 0 / 0.6592 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.2668, allocations: 6.031 kB / 0.6592 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.532e-05/0.2668, allocations: 0 / 0.6592 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.2668, allocations: 2.547 kB / 0.6592 GB, free: 50.66 MB / 0.5573 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.263e-05/0.2669, allocations: 189.3 kB / 0.6594 GB, free: 50.47 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.2669, allocations: 113.1 kB / 0.6595 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.16e-05/0.2669, allocations: 111.8 kB / 0.6596 GB, free: 50.24 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.2669, allocations: 183.2 kB / 0.6598 GB, free: 50.06 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/0.267, allocations: 177 kB / 0.6599 GB, free: 49.88 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.267, allocations: 187.1 kB / 0.6601 GB, free: 49.69 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.053e-05/0.2671, allocations: 362.2 kB / 0.6605 GB, free: 49.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.2671, allocations: 110.1 kB / 0.6606 GB, free: 49.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.847e-06/0.2671, allocations: 102.7 kB / 0.6607 GB, free: 49.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-05/0.2671, allocations: 178.5 kB / 0.6608 GB, free: 48.91 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.2671, allocations: 186.8 kB / 0.661 GB, free: 48.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.507e-05/0.2671, allocations: 177.5 kB / 0.6612 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-05/0.2671, allocations: 190.1 kB / 0.6614 GB, free: 48.36 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.038e-05/0.2672, allocations: 305.8 kB / 0.6617 GB, free: 48.04 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.579e-05/0.2672, allocations: 110.2 kB / 0.6618 GB, free: 47.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.2672, allocations: 179.3 kB / 0.6619 GB, free: 47.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.41e-05/0.2673, allocations: 108.8 kB / 0.662 GB, free: 47.64 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.2673, allocations: 187.6 kB / 0.6622 GB, free: 47.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.2673, allocations: 110.2 kB / 0.6623 GB, free: 47.34 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.386e-05/0.2673, allocations: 97.23 kB / 0.6624 GB, free: 47.26 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2673, allocations: 0 / 0.6624 GB, free: 47.26 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005001/0.2678, allocations: 295.2 kB / 0.6627 GB, free: 47.18 MB / 0.5573 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.0007823/0.2686, allocations: 0.5643 MB / 0.6633 GB, free: 46.91 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.305e-05/0.2687, allocations: 36.45 kB / 0.6633 GB, free: 46.88 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2687, allocations: 4.062 kB / 0.6633 GB, free: 46.88 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.2687, allocations: 4 kB / 0.6633 GB, free: 46.87 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.2689, allocations: 463.5 kB / 0.6637 GB, free: 46.42 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002454/0.2692, allocations: 248.8 kB / 0.664 GB, free: 46.19 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.72e-05/0.2692, allocations: 65.41 kB / 0.664 GB, free: 46.12 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.459e-05/0.2692, allocations: 12.72 kB / 0.664 GB, free: 46.12 MB / 0.5573 GB Notification: Performance of SimCode: time 6.61e-07/0.2692, allocations: 0 / 0.664 GB, free: 46.12 MB / 0.5573 GB Notification: Performance of Templates: time 0.005306/0.2745, allocations: 4.89 MB / 0.6688 GB, free: 45.65 MB / 0.5573 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.244476432912052] Failed to read output from testmodel.py, exit status != 0: 0.28061192482709885 0.292303623 0.024479320000000002 Calling exit ...