Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.0009056/0.0009056, allocations: 81.08 kB / 19.87 MB, free: 4.617 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.0008863/0.0008863, allocations: 169 kB / 23.27 MB, free: 1.219 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.8678/0.8678, allocations: 177.2 MB / 203.7 MB, free: 5.504 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.002366/0.002366, allocations: 245.9 kB / 260.5 MB, free: 12.66 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.6876/0.6876, allocations: 138.4 MB / 455.5 MB, free: 29.97 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.418e-06/4.418e-06, allocations: 4 kB / 0.5557 GB, free: 15.79 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.664e-05, allocations: 4.281 kB / 0.5557 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001762/0.001789, allocations: 1.481 MB / 0.5571 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00327/0.005059, allocations: 2.776 MB / 0.5598 GB, free: 11.5 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.005113, allocations: 0 / 0.5598 GB, free: 11.5 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.319e-05/0.005136, allocations: 7.922 kB / 0.5598 GB, free: 11.49 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.423e-05/0.005201, allocations: 19.8 kB / 0.5599 GB, free: 11.47 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002809/0.00801, allocations: 1.655 MB / 0.5615 GB, free: 9.828 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.216e-05/0.008082, allocations: 51.67 kB / 0.5615 GB, free: 9.777 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.954e-05/0.008112, allocations: 3.938 kB / 0.5615 GB, free: 9.773 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.942e-05/0.008151, allocations: 23.92 kB / 0.5616 GB, free: 9.75 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.128e-05/0.008172, allocations: 11.94 kB / 0.5616 GB, free: 9.738 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.008185, allocations: 0 / 0.5616 GB, free: 9.738 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.009796, allocations: 1.489 MB / 0.563 GB, free: 8.246 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.00981, allocations: 4 kB / 0.563 GB, free: 8.242 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.009836, allocations: 15.92 kB / 0.563 GB, free: 8.227 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.01115, allocations: 1.29 MB / 0.5643 GB, free: 6.934 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.01115, allocations: 0 / 0.5643 GB, free: 6.934 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.01115, allocations: 4 kB / 0.5643 GB, free: 6.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.01115, allocations: 0 / 0.5643 GB, free: 6.93 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.0004529/0.01161, allocations: 0.5566 MB / 0.5648 GB, free: 6.336 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.01164, allocations: 9.219 kB / 0.5649 GB, free: 6.328 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.01169, allocations: 128.1 kB / 0.565 GB, free: 6.203 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.991e-05/0.01179, allocations: 243.6 kB / 0.5652 GB, free: 5.938 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.266e-05/0.01184, allocations: 246.8 kB / 0.5654 GB, free: 5.695 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.256e-05/0.01189, allocations: 238.8 kB / 0.5657 GB, free: 5.461 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.225e-05/0.01195, allocations: 149.4 kB / 0.5658 GB, free: 5.309 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.01197, allocations: 123.4 kB / 0.5659 GB, free: 5.188 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/0.01203, allocations: 242.5 kB / 0.5662 GB, free: 4.949 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.384e-05/0.01208, allocations: 242.4 kB / 0.5664 GB, free: 4.711 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.617e-05/0.01214, allocations: 238.4 kB / 0.5666 GB, free: 4.477 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.01234, allocations: 0.5686 MB / 0.5672 GB, free: 3.883 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.364e-05/0.01241, allocations: 261.4 kB / 0.5674 GB, free: 3.613 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.01244, allocations: 130.8 kB / 0.5675 GB, free: 3.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.01247, allocations: 123.2 kB / 0.5677 GB, free: 3.359 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.01251, allocations: 152.6 kB / 0.5678 GB, free: 3.199 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.01251, allocations: 0 / 0.5678 GB, free: 3.199 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 4.924e-05/0.01256, allocations: 41.64 kB / 0.5679 GB, free: 3.152 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.01261, allocations: 174.6 kB / 0.568 GB, free: 2.969 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.902e-05/0.0127, allocations: 204.3 kB / 0.5682 GB, free: 2.754 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.01271, allocations: 25.7 kB / 0.5682 GB, free: 2.723 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.01276, allocations: 138.8 kB / 0.5684 GB, free: 2.582 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.102e-06/0.01276, allocations: 0 / 0.5684 GB, free: 2.582 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.01279, allocations: 27.34 kB / 0.5684 GB, free: 2.547 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.0129, allocations: 496.1 kB / 0.5689 GB, free: 2.051 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.14e-05/0.01291, allocations: 4 kB / 0.5689 GB, free: 2.047 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.418e-06/0.01292, allocations: 4 kB / 0.5689 GB, free: 2.043 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/0.01294, allocations: 15.67 kB / 0.5689 GB, free: 2.023 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.01294, allocations: 4.031 kB / 0.5689 GB, free: 2.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.288e-05/0.01302, allocations: 53.7 kB / 0.5689 GB, free: 1.961 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.01303, allocations: 4 kB / 0.5689 GB, free: 1.957 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.01304, allocations: 4 kB / 0.569 GB, free: 1.953 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.01305, allocations: 0 / 0.569 GB, free: 1.953 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.996e-06/0.01305, allocations: 0 / 0.569 GB, free: 1.953 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.01306, allocations: 3.938 kB / 0.569 GB, free: 1.949 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.606e-05/0.01307, allocations: 7.891 kB / 0.569 GB, free: 1.941 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.01308, allocations: 4 kB / 0.569 GB, free: 1.938 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.112e-05/0.01316, allocations: 275.8 kB / 0.5692 GB, free: 1.656 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.01321, allocations: 168.8 kB / 0.5694 GB, free: 1.484 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.01325, allocations: 148.7 kB / 0.5695 GB, free: 1.336 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.603e-05/0.01331, allocations: 268.1 kB / 0.5698 GB, free: 1.066 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.918e-05/0.01337, allocations: 272 kB / 0.57 GB, free: 0.793 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.172e-05/0.01342, allocations: 272 kB / 0.5703 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.01357, allocations: 488.5 kB / 0.5708 GB, free: 8 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.303e-05/0.01362, allocations: 148.9 kB / 0.5709 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.423e-05/0.01365, allocations: 148.9 kB / 0.5711 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-05/0.01371, allocations: 268 kB / 0.5713 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-05/0.01377, allocations: 264.1 kB / 0.5716 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.09e-05/0.01383, allocations: 276 kB / 0.5718 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.742e-05/0.01389, allocations: 272 kB / 0.5721 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.01401, allocations: 451.9 kB / 0.5725 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/0.01405, allocations: 148.8 kB / 0.5727 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.449e-05/0.01411, allocations: 272 kB / 0.5729 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.617e-05/0.01417, allocations: 148.9 kB / 0.5731 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.01423, allocations: 268.1 kB / 0.5733 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.01426, allocations: 156.8 kB / 0.5735 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.208e-05/0.0143, allocations: 134 kB / 0.5736 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.0143, allocations: 0 / 0.5736 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004816/0.01479, allocations: 295 kB / 0.5739 GB, free: 12.72 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.0006803/0.01547, allocations: 0.6534 MB / 0.5745 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.243e-05/0.01554, allocations: 53.38 kB / 0.5746 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.01554, allocations: 0 / 0.5746 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.01554, allocations: 0 / 0.5746 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.01585, allocations: 0.715 MB / 0.5753 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002277/0.01608, allocations: 284.1 kB / 0.5755 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.78e-05/0.0161, allocations: 51.36 kB / 0.5756 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.546e-06/0.01611, allocations: 0 / 0.5756 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.01616, allocations: 78.19 kB / 0.5757 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/0.01616, allocations: 3.938 kB / 0.5757 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of Templates: time 0.008007/0.02417, allocations: 7.371 MB / 0.5829 GB, free: 3.512 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.630327511113137]