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.001116/0.001116, allocations: 72.5 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.001168/0.001168, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8844/0.8844, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.001469/0.001469, allocations: 237.4 kB / 260.2 MB, free: 13 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.6771/0.6771, allocations: 138.4 MB / 455.1 MB, free: 30.03 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.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.794e-06/1.794e-06, allocations: 0 / 0.6476 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.612e-05, allocations: 2.281 kB / 0.6476 GB, free: 1.277 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.2299/0.23, allocations: 1.424 MB / 0.649 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002941/0.2329, allocations: 2.634 MB / 0.6516 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.2329, allocations: 3.062 kB / 0.6516 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.233, allocations: 5.672 kB / 0.6516 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.141e-05/0.233, allocations: 19.77 kB / 0.6516 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002514/0.2355, allocations: 1.623 MB / 0.6532 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.706e-05/0.2356, allocations: 46.27 kB / 0.6532 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.513e-05/0.2356, allocations: 3.5 kB / 0.6532 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.865e-05/0.2357, allocations: 18.59 kB / 0.6533 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.136e-05/0.2357, allocations: 13.08 kB / 0.6533 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.2357, allocations: 1.719 kB / 0.6533 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.2372, allocations: 1.454 MB / 0.6547 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.2372, allocations: 9.281 kB / 0.6547 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.2373, allocations: 9.094 kB / 0.6547 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.2385, allocations: 1.241 MB / 0.6559 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2385, allocations: 0 / 0.6559 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2385, allocations: 0 / 0.6559 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.2385, allocations: 0 / 0.6559 GB, free: 54.01 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.0003773/0.2388, allocations: 473.6 kB / 0.6564 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2389, allocations: 11.2 kB / 0.6564 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.2389, allocations: 78.56 kB / 0.6565 GB, free: 53.53 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.797e-05/0.239, allocations: 198.3 kB / 0.6566 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.239, allocations: 153.2 kB / 0.6568 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.239, allocations: 154.9 kB / 0.6569 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.232e-05/0.2391, allocations: 102.7 kB / 0.657 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.2391, allocations: 76.27 kB / 0.6571 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.2391, allocations: 156.8 kB / 0.6573 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.2391, allocations: 150.6 kB / 0.6574 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.493e-05/0.2391, allocations: 155 kB / 0.6575 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/0.2392, allocations: 412.6 kB / 0.6579 GB, free: 51.97 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.8e-05/0.2393, allocations: 174.9 kB / 0.6581 GB, free: 51.79 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.196e-05/0.2393, allocations: 85.33 kB / 0.6582 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.2393, allocations: 75.28 kB / 0.6583 GB, free: 51.63 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.2393, allocations: 108.8 kB / 0.6584 GB, free: 51.52 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.173e-06/0.2393, allocations: 0 / 0.6584 GB, free: 51.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 5.115e-05/0.2394, allocations: 34.25 kB / 0.6584 GB, free: 51.48 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.2394, allocations: 134.6 kB / 0.6585 GB, free: 51.34 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.666e-05/0.2395, allocations: 138.8 kB / 0.6587 GB, free: 51.22 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.178e-06/0.2395, allocations: 25.7 kB / 0.6587 GB, free: 51.19 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.2395, allocations: 93.67 kB / 0.6588 GB, free: 51.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.2395, allocations: 3.281 kB / 0.6588 GB, free: 51.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.2395, allocations: 19.64 kB / 0.6588 GB, free: 51.08 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.899e-05/0.2395, allocations: 318.8 kB / 0.6591 GB, free: 50.77 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.2396, allocations: 8 kB / 0.6591 GB, free: 50.76 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.12e-05/0.2396, allocations: 4.484 kB / 0.6591 GB, free: 50.76 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.876e-05/0.2396, allocations: 11.25 kB / 0.6591 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2396, allocations: 0.5 kB / 0.6591 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.411e-05/0.2397, allocations: 54.52 kB / 0.6592 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.2397, allocations: 6.25 kB / 0.6592 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.2397, allocations: 6.516 kB / 0.6592 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.2397, allocations: 8 kB / 0.6592 GB, free: 50.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.2397, allocations: 0 / 0.6592 GB, free: 50.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.2397, allocations: 1.656 kB / 0.6592 GB, free: 50.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.605e-05/0.2398, allocations: 3.641 kB / 0.6592 GB, free: 50.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.2398, allocations: 1.719 kB / 0.6592 GB, free: 50.7 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 3.776e-05/0.2398, allocations: 183.5 kB / 0.6594 GB, free: 50.52 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.2398, allocations: 117.2 kB / 0.6595 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.985e-05/0.2399, allocations: 112.9 kB / 0.6596 GB, free: 50.29 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.2399, allocations: 182.6 kB / 0.6598 GB, free: 50.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.2399, allocations: 178.9 kB / 0.6599 GB, free: 49.92 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.2399, allocations: 185 kB / 0.6601 GB, free: 49.73 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.282e-05/0.24, allocations: 365 kB / 0.6605 GB, free: 49.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.24, allocations: 107.6 kB / 0.6606 GB, free: 49.24 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.704e-06/0.24, allocations: 103.9 kB / 0.6607 GB, free: 49.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/0.24, allocations: 176.3 kB / 0.6608 GB, free: 48.96 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.24, allocations: 183.3 kB / 0.661 GB, free: 48.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/0.24, allocations: 178.8 kB / 0.6612 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.346e-05/0.24, allocations: 189.3 kB / 0.6614 GB, free: 48.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.266e-05/0.2401, allocations: 309.3 kB / 0.6617 GB, free: 48.09 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.2401, allocations: 108.9 kB / 0.6618 GB, free: 47.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.2401, allocations: 177.2 kB / 0.6619 GB, free: 47.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.21e-05/0.2401, allocations: 115.7 kB / 0.662 GB, free: 47.68 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.2402, allocations: 182.9 kB / 0.6622 GB, free: 47.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.2402, allocations: 107.1 kB / 0.6623 GB, free: 47.39 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.098e-05/0.2402, allocations: 100.2 kB / 0.6624 GB, free: 47.31 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2402, allocations: 1.125 kB / 0.6624 GB, free: 47.31 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004156/0.2406, allocations: 296.6 kB / 0.6627 GB, free: 47.23 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.0007216/0.2413, allocations: 0.569 MB / 0.6632 GB, free: 46.95 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.374e-05/0.2414, allocations: 34.41 kB / 0.6633 GB, free: 46.92 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.2414, allocations: 0 / 0.6633 GB, free: 46.92 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.2414, allocations: 0 / 0.6633 GB, free: 46.92 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.2416, allocations: 466.2 kB / 0.6637 GB, free: 46.47 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002211/0.2419, allocations: 248.5 kB / 0.664 GB, free: 46.24 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.541e-05/0.2419, allocations: 73.62 kB / 0.664 GB, free: 46.16 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.185e-05/0.2419, allocations: 11.94 kB / 0.664 GB, free: 46.16 MB / 0.5573 GB Notification: Performance of SimCode: time 2.5e-07/0.2419, allocations: 1.938 kB / 0.664 GB, free: 46.16 MB / 0.5573 GB Notification: Performance of Templates: time 0.00531/0.2472, allocations: 4.888 MB / 0.6688 GB, free: 45.7 MB / 0.5573 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: 6.208227505907416] Failed to read output from testmodel.py, exit status != 0: 0.25328624062240124 0.259552862 0.019373281000000003 Calling exit ...