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.001878/0.001878, allocations: 80.84 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.002372/0.002372, allocations: 162.7 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.444/1.444, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.002542/0.002542, allocations: 235 kB / 259.4 MB, free: 484 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.072/1.072, allocations: 138.4 MB / 454.3 MB, free: 1.992 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.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.633e-06/1.633e-06, allocations: 3.938 kB / 0.6469 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.099e-05, allocations: 2.281 kB / 0.6469 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002387/0.002407, allocations: 1.43 MB / 0.6483 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004317/0.006724, allocations: 2.638 MB / 0.6509 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.006752, allocations: 0 / 0.6509 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.00677, allocations: 3.938 kB / 0.6509 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.094e-05/0.006831, allocations: 15.86 kB / 0.6509 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.236/0.2428, allocations: 1.619 MB / 0.6525 GB, free: 53.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.337e-05/0.2429, allocations: 43.95 kB / 0.6525 GB, free: 53.31 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.2429, allocations: 3.781 kB / 0.6525 GB, free: 53.31 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.762e-05/0.243, allocations: 23.77 kB / 0.6525 GB, free: 53.31 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.408e-05/0.243, allocations: 8.406 kB / 0.6525 GB, free: 53.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.243, allocations: 1.219 kB / 0.6525 GB, free: 53.31 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.2448, allocations: 1.454 MB / 0.6539 GB, free: 53.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.2448, allocations: 13.98 kB / 0.654 GB, free: 53.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.2449, allocations: 9.672 kB / 0.654 GB, free: 53.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.2461, allocations: 1.237 MB / 0.6552 GB, free: 53.24 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2461, allocations: 3.625 kB / 0.6552 GB, free: 53.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.133e-06/0.2461, allocations: 3.938 kB / 0.6552 GB, free: 53.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.2461, allocations: 0.5312 kB / 0.6552 GB, free: 53.23 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.0004463/0.2465, allocations: 467.6 kB / 0.6556 GB, free: 52.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.2466, allocations: 10.75 kB / 0.6556 GB, free: 52.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.2466, allocations: 80.16 kB / 0.6557 GB, free: 52.76 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.716e-05/0.2467, allocations: 196 kB / 0.6559 GB, free: 52.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.2467, allocations: 152.6 kB / 0.6561 GB, free: 52.4 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.2467, allocations: 154.1 kB / 0.6562 GB, free: 52.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.818e-05/0.2468, allocations: 107.9 kB / 0.6563 GB, free: 52.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.2468, allocations: 77.09 kB / 0.6564 GB, free: 52.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.2468, allocations: 158 kB / 0.6565 GB, free: 51.92 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.2468, allocations: 154.5 kB / 0.6567 GB, free: 51.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.2468, allocations: 150.6 kB / 0.6568 GB, free: 51.62 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.247, allocations: 411.2 kB / 0.6572 GB, free: 51.21 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.44e-05/0.247, allocations: 173.3 kB / 0.6574 GB, free: 51.04 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.418e-05/0.2471, allocations: 84.77 kB / 0.6575 GB, free: 50.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.2471, allocations: 75.28 kB / 0.6575 GB, free: 50.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.2471, allocations: 109.2 kB / 0.6576 GB, free: 50.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.2471, allocations: 1.469 kB / 0.6576 GB, free: 50.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.756e-05/0.2472, allocations: 36.16 kB / 0.6577 GB, free: 50.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.2472, allocations: 134.5 kB / 0.6578 GB, free: 50.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.574e-05/0.2473, allocations: 131.6 kB / 0.6579 GB, free: 50.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.981e-06/0.2473, allocations: 30.14 kB / 0.658 GB, free: 50.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.617e-05/0.2473, allocations: 90.8 kB / 0.658 GB, free: 50.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.2473, allocations: 3.031 kB / 0.658 GB, free: 50.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.2473, allocations: 16.47 kB / 0.6581 GB, free: 50.37 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.549e-05/0.2474, allocations: 317.7 kB / 0.6584 GB, free: 50.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/0.2474, allocations: 3.031 kB / 0.6584 GB, free: 50.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.501e-05/0.2474, allocations: 7.031 kB / 0.6584 GB, free: 50.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.172e-05/0.2474, allocations: 18.97 kB / 0.6584 GB, free: 50.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2474, allocations: 0 / 0.6584 GB, free: 50.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001047/0.2475, allocations: 46.44 kB / 0.6584 GB, free: 50.01 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.2475, allocations: 6.375 kB / 0.6584 GB, free: 50.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.2476, allocations: 7.234 kB / 0.6584 GB, free: 50.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2476, allocations: 3.406 kB / 0.6584 GB, free: 50.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.2476, allocations: 3.938 kB / 0.6585 GB, free: 50.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.2476, allocations: 3.188 kB / 0.6585 GB, free: 50.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.2476, allocations: 0 / 0.6585 GB, free: 50.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.2476, allocations: 3.219 kB / 0.6585 GB, free: 50.01 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.609e-05/0.2477, allocations: 185.1 kB / 0.6586 GB, free: 49.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.2477, allocations: 112.2 kB / 0.6587 GB, free: 49.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.2477, allocations: 118.8 kB / 0.6589 GB, free: 49.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/0.2477, allocations: 178.5 kB / 0.659 GB, free: 49.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.277e-05/0.2477, allocations: 189.6 kB / 0.6592 GB, free: 49.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.371e-05/0.2478, allocations: 176.3 kB / 0.6594 GB, free: 49.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.2479, allocations: 371.1 kB / 0.6597 GB, free: 48.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.2479, allocations: 104.3 kB / 0.6598 GB, free: 48.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.046e-05/0.2479, allocations: 105 kB / 0.6599 GB, free: 48.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.88e-05/0.2479, allocations: 183 kB / 0.6601 GB, free: 48.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.2479, allocations: 178.3 kB / 0.6603 GB, free: 48.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.976e-05/0.248, allocations: 182.4 kB / 0.6604 GB, free: 47.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.869e-05/0.248, allocations: 182 kB / 0.6606 GB, free: 47.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.44e-05/0.248, allocations: 311.6 kB / 0.6609 GB, free: 47.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.248, allocations: 111.8 kB / 0.661 GB, free: 47.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.2481, allocations: 179.8 kB / 0.6612 GB, free: 47.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.471e-05/0.2481, allocations: 110.6 kB / 0.6613 GB, free: 47.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.2482, allocations: 183 kB / 0.6615 GB, free: 46.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.2482, allocations: 102.5 kB / 0.6616 GB, free: 46.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.419e-05/0.2482, allocations: 106.5 kB / 0.6617 GB, free: 46.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2482, allocations: 0 / 0.6617 GB, free: 46.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005905/0.2488, allocations: 289.4 kB / 0.6619 GB, free: 46.61 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.0009192/0.2497, allocations: 0.5726 MB / 0.6625 GB, free: 46.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.724e-05/0.2498, allocations: 41.98 kB / 0.6625 GB, free: 46.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2498, allocations: 0 / 0.6625 GB, free: 46.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.424e-06/0.2498, allocations: 4.062 kB / 0.6626 GB, free: 46.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.2501, allocations: 469 kB / 0.663 GB, free: 45.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002321/0.2503, allocations: 224.3 kB / 0.6632 GB, free: 45.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.323e-05/0.2504, allocations: 64.7 kB / 0.6633 GB, free: 45.63 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.119e-05/0.2504, allocations: 0 / 0.6633 GB, free: 45.63 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.262e-05/0.2504, allocations: 11.81 kB / 0.6633 GB, free: 45.62 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.2504, allocations: 4 kB / 0.6633 GB, free: 45.62 MB / 0.5606 GB Notification: Performance of Templates: time 0.009396/0.2598, allocations: 5.75 MB / 0.6689 GB, free: 45.2 MB / 0.5606 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: 5.943180829286575] Failed to read output from testmodel.py, exit status != 0: 0.26768845692276955 0.277906433 0.029236978 Calling exit ...