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.001014/0.001014, allocations: 92.22 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.001632/0.001632, allocations: 173 kB / 23.02 MB, free: 1.543 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.9312/0.9312, allocations: 177.1 MB / 203.4 MB, free: 5.57 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.002536/0.002536, allocations: 228.7 kB / 260.2 MB, free: 12.83 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.6759/0.6759, allocations: 138.4 MB / 455.2 MB, free: 1.488 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.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 1.613e-06/1.613e-06, allocations: 0 / 0.5552 GB, free: 396 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.958e-05, allocations: 2.312 kB / 0.5552 GB, free: 392 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00177/0.001789, allocations: 1.484 MB / 0.5567 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00317/0.004959, allocations: 2.849 MB / 0.5594 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.946e-05/0.005019, allocations: 0 / 0.5594 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.341e-05/0.005042, allocations: 3.938 kB / 0.5594 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.957e-05/0.005102, allocations: 23.78 kB / 0.5595 GB, free: 11.99 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.007835, allocations: 1.645 MB / 0.5611 GB, free: 10.35 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.513e-05/0.00791, allocations: 51.61 kB / 0.5611 GB, free: 10.3 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.425e-05/0.007945, allocations: 7.938 kB / 0.5611 GB, free: 10.29 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.542e-05/0.00798, allocations: 19.98 kB / 0.5611 GB, free: 10.27 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.147e-05/0.008001, allocations: 15.92 kB / 0.5612 GB, free: 10.25 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.008014, allocations: 4 kB / 0.5612 GB, free: 10.25 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.009553, allocations: 1.489 MB / 0.5626 GB, free: 8.758 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.009566, allocations: 0 / 0.5626 GB, free: 8.758 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.009594, allocations: 15.94 kB / 0.5626 GB, free: 8.742 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.01084, allocations: 1.282 MB / 0.5639 GB, free: 7.457 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.01084, allocations: 4 kB / 0.5639 GB, free: 7.453 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01084, allocations: 4 kB / 0.5639 GB, free: 7.449 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.01085, allocations: 0 / 0.5639 GB, free: 7.449 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.0004707/0.01132, allocations: 0.5605 MB / 0.5644 GB, free: 6.852 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.01136, allocations: 8.031 kB / 0.5644 GB, free: 6.844 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.57e-05/0.01141, allocations: 124.1 kB / 0.5646 GB, free: 6.723 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.01152, allocations: 239.7 kB / 0.5648 GB, free: 6.461 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.912e-05/0.01157, allocations: 246.8 kB / 0.565 GB, free: 6.219 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.01163, allocations: 242.8 kB / 0.5653 GB, free: 5.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.457e-05/0.01169, allocations: 145.5 kB / 0.5654 GB, free: 5.832 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.01172, allocations: 127.2 kB / 0.5655 GB, free: 5.707 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.157e-05/0.01179, allocations: 242.5 kB / 0.5658 GB, free: 5.469 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.231e-05/0.01184, allocations: 246.4 kB / 0.566 GB, free: 5.227 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.024e-05/0.01189, allocations: 238.4 kB / 0.5662 GB, free: 4.992 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002152/0.0121, allocations: 0.5836 MB / 0.5668 GB, free: 4.375 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.082e-05/0.01218, allocations: 269.4 kB / 0.567 GB, free: 4.098 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/0.01222, allocations: 130.8 kB / 0.5672 GB, free: 3.965 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.01225, allocations: 119.2 kB / 0.5673 GB, free: 3.848 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.01229, allocations: 156.6 kB / 0.5674 GB, free: 3.684 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.01229, allocations: 4 kB / 0.5674 GB, free: 3.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 5.029e-05/0.01234, allocations: 25.7 kB / 0.5675 GB, free: 3.648 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.01239, allocations: 174.6 kB / 0.5676 GB, free: 3.465 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.01249, allocations: 205.2 kB / 0.5678 GB, free: 3.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.0125, allocations: 25.7 kB / 0.5678 GB, free: 3.219 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.01254, allocations: 138.9 kB / 0.568 GB, free: 3.078 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.01255, allocations: 0 / 0.568 GB, free: 3.078 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.01257, allocations: 31.38 kB / 0.568 GB, free: 3.039 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.01267, allocations: 496.1 kB / 0.5685 GB, free: 2.543 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.33e-05/0.01269, allocations: 7.938 kB / 0.5685 GB, free: 2.535 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.808e-06/0.0127, allocations: 0 / 0.5685 GB, free: 2.535 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.247e-05/0.01273, allocations: 19.69 kB / 0.5685 GB, free: 2.512 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01273, allocations: 0 / 0.5685 GB, free: 2.512 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.098e-05/0.01282, allocations: 49.64 kB / 0.5686 GB, free: 2.457 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.01283, allocations: 12.06 kB / 0.5686 GB, free: 2.445 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.01285, allocations: 0 / 0.5686 GB, free: 2.445 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.01286, allocations: 4 kB / 0.5686 GB, free: 2.441 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.847e-06/0.01286, allocations: 3.938 kB / 0.5686 GB, free: 2.438 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.01287, allocations: 3.984 kB / 0.5686 GB, free: 2.434 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.455e-05/0.01288, allocations: 7.922 kB / 0.5686 GB, free: 2.426 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.01289, allocations: 3.938 kB / 0.5686 GB, free: 2.422 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 7.479e-05/0.01296, allocations: 275.8 kB / 0.5689 GB, free: 2.141 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.013, allocations: 152.8 kB / 0.569 GB, free: 1.984 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.01304, allocations: 152.7 kB / 0.5691 GB, free: 1.832 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.232e-05/0.01309, allocations: 280 kB / 0.5694 GB, free: 1.551 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-05/0.01314, allocations: 268 kB / 0.5697 GB, free: 1.281 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.871e-05/0.01319, allocations: 268 kB / 0.5699 GB, free: 1.012 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.01334, allocations: 0.4998 MB / 0.5704 GB, free: 480 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-05/0.01337, allocations: 153 kB / 0.5706 GB, free: 320 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.0134, allocations: 152.8 kB / 0.5707 GB, free: 160 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.303e-05/0.01346, allocations: 264.2 kB / 0.571 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.684e-05/0.01352, allocations: 272 kB / 0.5712 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.298e-05/0.01357, allocations: 272.1 kB / 0.5715 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.74e-05/0.01362, allocations: 264.1 kB / 0.5717 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.01374, allocations: 455.9 kB / 0.5722 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.01377, allocations: 152.8 kB / 0.5723 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/0.01383, allocations: 272.1 kB / 0.5726 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.802e-05/0.01388, allocations: 144.9 kB / 0.5727 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.01394, allocations: 276 kB / 0.573 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.01396, allocations: 148.9 kB / 0.5731 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.553e-05/0.01401, allocations: 143.2 kB / 0.5732 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01401, allocations: 0 / 0.5732 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004657/0.01448, allocations: 295 kB / 0.5735 GB, free: 13.17 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.0007285/0.0152, allocations: 0.626 MB / 0.5741 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.621e-05/0.01529, allocations: 57.31 kB / 0.5742 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01529, allocations: 0 / 0.5742 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.01529, allocations: 0 / 0.5742 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.01559, allocations: 0.7062 MB / 0.5749 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.01584, allocations: 288.3 kB / 0.5752 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.022e-05/0.01587, allocations: 55.36 kB / 0.5752 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.948e-06/0.01588, allocations: 3.984 kB / 0.5752 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.192e-05/0.01589, allocations: 8.5 kB / 0.5752 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.01589, allocations: 0 / 0.5752 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of Templates: time 0.008956/0.02485, allocations: 8.053 MB / 0.5831 GB, free: 3.355 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.884851275011897]