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.001051/0.001051, allocations: 93.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.00106/0.00106, allocations: 169 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.9716/0.9716, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.001733/0.001733, allocations: 234.1 kB / 260.2 MB, free: 12.81 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.6881/0.6881, allocations: 138.4 MB / 455.2 MB, free: 1.578 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.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.603e-06/1.603e-06, allocations: 0 / 0.5552 GB, free: 480 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.76e-05, allocations: 6.312 kB / 0.5552 GB, free: 472 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00252/0.002547, allocations: 1.472 MB / 0.5566 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003347/0.005894, allocations: 2.806 MB / 0.5594 GB, free: 12.15 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.975e-05/0.005934, allocations: 0 / 0.5594 GB, free: 12.15 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.005961, allocations: 7.922 kB / 0.5594 GB, free: 12.14 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.403e-05/0.006025, allocations: 19.8 kB / 0.5594 GB, free: 12.12 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.008729, allocations: 1.624 MB / 0.561 GB, free: 10.5 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.562e-05/0.008804, allocations: 39.67 kB / 0.561 GB, free: 10.46 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.008843, allocations: 7.984 kB / 0.561 GB, free: 10.45 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.819e-05/0.008882, allocations: 19.98 kB / 0.5611 GB, free: 10.43 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.005e-05/0.008902, allocations: 15.92 kB / 0.5611 GB, free: 10.42 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.008914, allocations: 0 / 0.5611 GB, free: 10.42 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.01048, allocations: 1.462 MB / 0.5625 GB, free: 8.953 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.0105, allocations: 7.938 kB / 0.5625 GB, free: 8.945 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.01053, allocations: 4 kB / 0.5625 GB, free: 8.941 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.01184, allocations: 1.255 MB / 0.5637 GB, free: 7.684 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.01184, allocations: 0 / 0.5637 GB, free: 7.684 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.01184, allocations: 0 / 0.5637 GB, free: 7.684 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.01185, allocations: 0 / 0.5637 GB, free: 7.684 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.0005026/0.01235, allocations: 0.5567 MB / 0.5643 GB, free: 7.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.01239, allocations: 8.031 kB / 0.5643 GB, free: 7.082 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.26e-05/0.01245, allocations: 128.1 kB / 0.5644 GB, free: 6.957 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.01258, allocations: 250.3 kB / 0.5647 GB, free: 6.688 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.681e-05/0.01264, allocations: 242.8 kB / 0.5649 GB, free: 6.449 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.389e-05/0.0127, allocations: 242.8 kB / 0.5651 GB, free: 6.211 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.111e-05/0.01276, allocations: 145.5 kB / 0.5653 GB, free: 6.062 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.01279, allocations: 119.4 kB / 0.5654 GB, free: 5.945 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/0.01285, allocations: 250.5 kB / 0.5656 GB, free: 5.699 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.083e-05/0.01291, allocations: 238.4 kB / 0.5658 GB, free: 5.465 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.76e-05/0.01297, allocations: 246.3 kB / 0.5661 GB, free: 5.223 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.01321, allocations: 0.5759 MB / 0.5666 GB, free: 4.613 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.813e-05/0.0133, allocations: 273.4 kB / 0.5669 GB, free: 4.332 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.352e-05/0.01334, allocations: 126.9 kB / 0.567 GB, free: 4.203 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.01337, allocations: 119.2 kB / 0.5671 GB, free: 4.086 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/0.01342, allocations: 156.6 kB / 0.5673 GB, free: 3.922 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.01342, allocations: 0 / 0.5673 GB, free: 3.922 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 6.138e-05/0.01348, allocations: 33.59 kB / 0.5673 GB, free: 3.883 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.01354, allocations: 178.5 kB / 0.5675 GB, free: 3.695 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.01367, allocations: 185.9 kB / 0.5677 GB, free: 3.496 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.01368, allocations: 25.7 kB / 0.5677 GB, free: 3.465 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.01373, allocations: 142.9 kB / 0.5678 GB, free: 3.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.01373, allocations: 0 / 0.5678 GB, free: 3.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.01376, allocations: 23.38 kB / 0.5678 GB, free: 3.289 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.01388, allocations: 0.4923 MB / 0.5683 GB, free: 2.785 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.0139, allocations: 0 / 0.5683 GB, free: 2.785 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.321e-05/0.01391, allocations: 8 kB / 0.5683 GB, free: 2.777 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.297e-05/0.01394, allocations: 15.72 kB / 0.5683 GB, free: 2.758 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01395, allocations: 0 / 0.5683 GB, free: 2.758 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001049/0.01405, allocations: 49.58 kB / 0.5684 GB, free: 2.703 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.01407, allocations: 8 kB / 0.5684 GB, free: 2.695 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.01408, allocations: 4.062 kB / 0.5684 GB, free: 2.691 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.01409, allocations: 0 / 0.5684 GB, free: 2.691 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.248e-06/0.0141, allocations: 3.938 kB / 0.5684 GB, free: 2.688 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.0141, allocations: 4 kB / 0.5684 GB, free: 2.684 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.615e-05/0.01412, allocations: 7.953 kB / 0.5684 GB, free: 2.676 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.01413, allocations: 3.938 kB / 0.5684 GB, free: 2.672 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 9.841e-05/0.01422, allocations: 275.8 kB / 0.5687 GB, free: 2.391 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.01427, allocations: 148.8 kB / 0.5688 GB, free: 2.238 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.273e-05/0.01432, allocations: 156.7 kB / 0.569 GB, free: 2.082 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.869e-05/0.01439, allocations: 264.1 kB / 0.5692 GB, free: 1.816 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.121e-05/0.01446, allocations: 284 kB / 0.5695 GB, free: 1.531 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.777e-05/0.01453, allocations: 264.1 kB / 0.5698 GB, free: 1.266 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.01471, allocations: 0.4998 MB / 0.5702 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-05/0.01475, allocations: 144.9 kB / 0.5704 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.01478, allocations: 144.9 kB / 0.5705 GB, free: 436 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.508e-05/0.01486, allocations: 276 kB / 0.5708 GB, free: 152 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.535e-05/0.01494, allocations: 264.3 kB / 0.571 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.457e-05/0.01501, allocations: 272 kB / 0.5713 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.753e-05/0.01509, allocations: 272.1 kB / 0.5716 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.01525, allocations: 451.9 kB / 0.572 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.648e-05/0.01531, allocations: 152.8 kB / 0.5721 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.01542, allocations: 280 kB / 0.5724 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.921e-05/0.01548, allocations: 148.9 kB / 0.5725 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.01554, allocations: 272 kB / 0.5728 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.01557, allocations: 144.9 kB / 0.5729 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.709e-05/0.01562, allocations: 142.1 kB / 0.5731 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01562, allocations: 0 / 0.5731 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004643/0.01608, allocations: 295 kB / 0.5734 GB, free: 13.43 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.0007692/0.01685, allocations: 0.6182 MB / 0.574 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.822e-05/0.01694, allocations: 41.39 kB / 0.574 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01694, allocations: 0 / 0.574 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.01695, allocations: 7.938 kB / 0.574 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.01732, allocations: 0.7139 MB / 0.5747 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.01759, allocations: 280.3 kB / 0.575 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.295e-05/0.01763, allocations: 63.28 kB / 0.575 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.098e-05/0.01764, allocations: 0 / 0.575 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.503e-05/0.01765, allocations: 12.5 kB / 0.575 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.01765, allocations: 0 / 0.575 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of Templates: time 0.009198/0.02685, allocations: 7.847 MB / 0.5827 GB, free: 3.832 MB / 0.4948 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.88571373000741]