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.001785/0.001785, allocations: 97.06 kB / 19.65 MB, free: 276 kB / 13.93 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.002308/0.002308, allocations: 173 kB / 23.02 MB, free: 1.547 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.9549/0.9549, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.001608/0.001608, allocations: 234.2 kB / 260.2 MB, free: 12.82 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.7039/0.7039, allocations: 138.4 MB / 455.2 MB, free: 1.562 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.743e-06/1.743e-06, allocations: 0 / 0.5552 GB, free: 464 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.385e-05, allocations: 6.312 kB / 0.5552 GB, free: 456 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001929/0.001953, allocations: 1.473 MB / 0.5566 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003383/0.005336, allocations: 2.806 MB / 0.5594 GB, free: 12.13 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.305e-05/0.005389, allocations: 0 / 0.5594 GB, free: 12.13 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.005413, allocations: 7.938 kB / 0.5594 GB, free: 12.12 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.459e-05/0.005478, allocations: 19.78 kB / 0.5594 GB, free: 12.11 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.008535, allocations: 1.623 MB / 0.561 GB, free: 10.48 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.623e-05/0.008621, allocations: 47.67 kB / 0.561 GB, free: 10.44 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.008657, allocations: 0 / 0.561 GB, free: 10.44 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.337e-05/0.0087, allocations: 27.91 kB / 0.5611 GB, free: 10.41 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.187e-05/0.008722, allocations: 11.98 kB / 0.5611 GB, free: 10.4 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.008736, allocations: 0 / 0.5611 GB, free: 10.4 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.01051, allocations: 1.45 MB / 0.5625 GB, free: 8.945 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.01053, allocations: 19.91 kB / 0.5625 GB, free: 8.926 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.01056, allocations: 8 kB / 0.5625 GB, free: 8.918 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.01209, allocations: 1.243 MB / 0.5637 GB, free: 7.672 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.01209, allocations: 0 / 0.5637 GB, free: 7.672 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.0121, allocations: 0 / 0.5637 GB, free: 7.672 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.0121, allocations: 3.984 kB / 0.5637 GB, free: 7.668 MB / 490.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.0005878/0.01269, allocations: 0.5567 MB / 0.5643 GB, free: 7.074 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.01273, allocations: 8.031 kB / 0.5643 GB, free: 7.066 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.01279, allocations: 136 kB / 0.5644 GB, free: 6.934 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.0129, allocations: 246.7 kB / 0.5647 GB, free: 6.668 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.476e-05/0.01296, allocations: 238.8 kB / 0.5649 GB, free: 6.434 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/0.01302, allocations: 246.8 kB / 0.5651 GB, free: 6.191 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.432e-05/0.01308, allocations: 149.4 kB / 0.5653 GB, free: 6.039 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/0.01311, allocations: 119.4 kB / 0.5654 GB, free: 5.922 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.333e-05/0.01316, allocations: 242.5 kB / 0.5656 GB, free: 5.684 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.01327, allocations: 238.4 kB / 0.5658 GB, free: 5.449 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.744e-05/0.01332, allocations: 246.3 kB / 0.5661 GB, free: 5.207 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002342/0.01356, allocations: 0.5837 MB / 0.5666 GB, free: 4.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.023e-05/0.01365, allocations: 261.4 kB / 0.5669 GB, free: 4.32 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.456e-05/0.01368, allocations: 130.9 kB / 0.567 GB, free: 4.188 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.01371, allocations: 123.2 kB / 0.5671 GB, free: 4.066 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.01375, allocations: 160.6 kB / 0.5673 GB, free: 3.898 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.01375, allocations: 0 / 0.5673 GB, free: 3.898 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 6.035e-05/0.01381, allocations: 37.59 kB / 0.5673 GB, free: 3.855 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.01387, allocations: 174.5 kB / 0.5675 GB, free: 3.672 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.01398, allocations: 185.9 kB / 0.5677 GB, free: 3.473 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.01399, allocations: 25.7 kB / 0.5677 GB, free: 3.441 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.01405, allocations: 138.9 kB / 0.5678 GB, free: 3.301 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.01405, allocations: 0 / 0.5678 GB, free: 3.301 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.01408, allocations: 23.36 kB / 0.5678 GB, free: 3.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.01419, allocations: 496.2 kB / 0.5683 GB, free: 2.773 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/0.0142, allocations: 8 kB / 0.5683 GB, free: 2.766 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.108e-05/0.01421, allocations: 8 kB / 0.5683 GB, free: 2.758 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.647e-05/0.01425, allocations: 23.61 kB / 0.5684 GB, free: 2.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01425, allocations: 0 / 0.5684 GB, free: 2.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001038/0.01436, allocations: 41.66 kB / 0.5684 GB, free: 2.684 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.01437, allocations: 4 kB / 0.5684 GB, free: 2.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.01439, allocations: 4 kB / 0.5684 GB, free: 2.676 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.0144, allocations: 3.984 kB / 0.5684 GB, free: 2.672 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.078e-06/0.01441, allocations: 3.938 kB / 0.5684 GB, free: 2.668 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.01441, allocations: 0 / 0.5684 GB, free: 2.668 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.543e-05/0.01443, allocations: 7.891 kB / 0.5684 GB, free: 2.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.01443, allocations: 4 kB / 0.5684 GB, free: 2.656 MB / 490.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 8.19e-05/0.01452, allocations: 275.8 kB / 0.5687 GB, free: 2.375 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.01456, allocations: 156.8 kB / 0.5688 GB, free: 2.215 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.0146, allocations: 156.7 kB / 0.569 GB, free: 2.059 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.457e-05/0.01466, allocations: 264.1 kB / 0.5692 GB, free: 1.793 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001538/0.01481, allocations: 272 kB / 0.5695 GB, free: 1.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.578e-05/0.01487, allocations: 268.1 kB / 0.5698 GB, free: 1.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.01503, allocations: 0.4959 MB / 0.5702 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.434e-05/0.01506, allocations: 148.9 kB / 0.5704 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.01509, allocations: 148.9 kB / 0.5705 GB, free: 416 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.116e-05/0.01515, allocations: 268 kB / 0.5708 GB, free: 140 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.106e-05/0.01522, allocations: 272.3 kB / 0.571 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.146e-05/0.01529, allocations: 272 kB / 0.5713 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.773e-05/0.01534, allocations: 268.1 kB / 0.5716 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.01547, allocations: 459.9 kB / 0.572 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.01551, allocations: 152.8 kB / 0.5721 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.465e-05/0.01558, allocations: 268 kB / 0.5724 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.41e-05/0.01563, allocations: 148.9 kB / 0.5725 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.0157, allocations: 279.9 kB / 0.5728 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.01573, allocations: 148.9 kB / 0.5729 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.054e-05/0.01578, allocations: 142.3 kB / 0.5731 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01578, allocations: 4 kB / 0.5731 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005323/0.01631, allocations: 291 kB / 0.5734 GB, free: 13.41 MB / 0.4948 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.0007764/0.01709, allocations: 0.6178 MB / 0.574 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.47e-05/0.01718, allocations: 45.39 kB / 0.574 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01719, allocations: 0 / 0.574 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.01719, allocations: 7.938 kB / 0.574 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.01751, allocations: 0.7101 MB / 0.5747 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.01779, allocations: 284.2 kB / 0.575 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.222e-05/0.01782, allocations: 55.36 kB / 0.575 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.129e-05/0.01783, allocations: 0 / 0.575 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.488e-05/0.01785, allocations: 12.5 kB / 0.575 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of SimCode: time 8.82e-07/0.01785, allocations: 0 / 0.575 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of Templates: time 0.009457/0.0273, allocations: 7.854 MB / 0.5827 GB, free: 3.809 MB / 0.4948 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=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.869097653310746]