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.001326/0.001326, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009394/0.0009394, allocations: 165.3 kB / 23.01 MB, free: 1.555 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.9297/0.9297, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.001642/0.001642, allocations: 237.2 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.7031/0.7031, allocations: 138.4 MB / 455.2 MB, free: 1.527 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 2.044e-06/2.044e-06, allocations: 0 / 0.5552 GB, free: 440 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.943e-05, allocations: 2.312 kB / 0.5552 GB, free: 436 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001731/0.00175, allocations: 1.498 MB / 0.5567 GB, free: 14.92 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003195/0.004945, allocations: 2.845 MB / 0.5594 GB, free: 12.05 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.004988, allocations: 4 kB / 0.5594 GB, free: 12.05 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.21e-05/0.00501, allocations: 7.938 kB / 0.5595 GB, free: 12.04 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.747e-05/0.005068, allocations: 19.78 kB / 0.5595 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002672/0.00774, allocations: 1.647 MB / 0.5611 GB, free: 10.38 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.018e-05/0.00782, allocations: 47.61 kB / 0.5611 GB, free: 10.33 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.654e-05/0.007857, allocations: 7.938 kB / 0.5611 GB, free: 10.32 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.838e-05/0.007895, allocations: 15.98 kB / 0.5612 GB, free: 10.31 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.163e-05/0.007917, allocations: 15.92 kB / 0.5612 GB, free: 10.29 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.00793, allocations: 4 kB / 0.5612 GB, free: 10.29 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.009564, allocations: 1.489 MB / 0.5626 GB, free: 8.797 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.009577, allocations: 4 kB / 0.5626 GB, free: 8.793 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.009605, allocations: 15.94 kB / 0.5626 GB, free: 8.777 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.01091, allocations: 1.278 MB / 0.5639 GB, free: 7.496 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.01091, allocations: 0 / 0.5639 GB, free: 7.496 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01091, allocations: 0 / 0.5639 GB, free: 7.496 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.01091, allocations: 0 / 0.5639 GB, free: 7.496 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.0005282/0.01144, allocations: 0.5605 MB / 0.5644 GB, free: 6.898 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.01148, allocations: 8.031 kB / 0.5644 GB, free: 6.891 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.01153, allocations: 124.1 kB / 0.5646 GB, free: 6.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.01163, allocations: 255.6 kB / 0.5648 GB, free: 6.492 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.125e-05/0.01168, allocations: 238.8 kB / 0.565 GB, free: 6.258 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-05/0.01173, allocations: 238.8 kB / 0.5653 GB, free: 6.023 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.779e-05/0.01179, allocations: 149.5 kB / 0.5654 GB, free: 5.871 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.01182, allocations: 119.4 kB / 0.5655 GB, free: 5.754 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-05/0.01187, allocations: 250.4 kB / 0.5658 GB, free: 5.508 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.791e-05/0.01192, allocations: 238.4 kB / 0.566 GB, free: 5.273 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.508e-05/0.01196, allocations: 242.4 kB / 0.5662 GB, free: 5.035 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.01217, allocations: 0.5875 MB / 0.5668 GB, free: 4.414 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.078e-05/0.01225, allocations: 265.4 kB / 0.567 GB, free: 4.141 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.0123, allocations: 134.9 kB / 0.5672 GB, free: 4.004 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.01232, allocations: 123.2 kB / 0.5673 GB, free: 3.883 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.01236, allocations: 152.6 kB / 0.5674 GB, free: 3.723 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.01236, allocations: 0 / 0.5674 GB, free: 3.723 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 5.664e-05/0.01242, allocations: 33.64 kB / 0.5675 GB, free: 3.684 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.01247, allocations: 174.6 kB / 0.5676 GB, free: 3.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.01258, allocations: 197.8 kB / 0.5678 GB, free: 3.289 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.146e-06/0.01259, allocations: 25.7 kB / 0.5678 GB, free: 3.258 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.01264, allocations: 138.9 kB / 0.568 GB, free: 3.117 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.01264, allocations: 0 / 0.568 GB, free: 3.117 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.01267, allocations: 27.38 kB / 0.568 GB, free: 3.082 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002457/0.01291, allocations: 0.4923 MB / 0.5685 GB, free: 2.578 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/0.01293, allocations: 4 kB / 0.5685 GB, free: 2.574 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.051e-05/0.01294, allocations: 4 kB / 0.5685 GB, free: 2.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.169e-05/0.01297, allocations: 11.69 kB / 0.5685 GB, free: 2.555 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01297, allocations: 64 / 0.5685 GB, free: 2.555 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001066/0.01308, allocations: 61.58 kB / 0.5686 GB, free: 2.488 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.01309, allocations: 4 kB / 0.5686 GB, free: 2.484 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.01311, allocations: 4 kB / 0.5686 GB, free: 2.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.01312, allocations: 0 / 0.5686 GB, free: 2.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.777e-06/0.01312, allocations: 3.938 kB / 0.5686 GB, free: 2.477 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.01313, allocations: 64 / 0.5686 GB, free: 2.477 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.42e-05/0.01314, allocations: 11.94 kB / 0.5686 GB, free: 2.465 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.01315, allocations: 0 / 0.5686 GB, free: 2.465 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.051e-05/0.01323, allocations: 275.8 kB / 0.5688 GB, free: 2.184 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.01327, allocations: 152.8 kB / 0.569 GB, free: 2.027 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.157e-05/0.01331, allocations: 160.7 kB / 0.5691 GB, free: 1.867 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.085e-05/0.01336, allocations: 264.1 kB / 0.5694 GB, free: 1.602 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.542e-05/0.01342, allocations: 276 kB / 0.5697 GB, free: 1.324 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-05/0.01347, allocations: 264.1 kB / 0.5699 GB, free: 1.059 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.01363, allocations: 0.5037 MB / 0.5704 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-05/0.01366, allocations: 148.8 kB / 0.5705 GB, free: 368 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.01369, allocations: 148.9 kB / 0.5707 GB, free: 212 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.389e-05/0.01375, allocations: 272.2 kB / 0.571 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.339e-05/0.01381, allocations: 268.1 kB / 0.5712 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.457e-05/0.01386, allocations: 272 kB / 0.5715 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.205e-05/0.01391, allocations: 268.1 kB / 0.5717 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.01403, allocations: 451.9 kB / 0.5722 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.01406, allocations: 148.9 kB / 0.5723 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.559e-05/0.01413, allocations: 276 kB / 0.5726 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.214e-05/0.01418, allocations: 144.9 kB / 0.5727 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.01424, allocations: 272 kB / 0.573 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.01427, allocations: 156.8 kB / 0.5731 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.679e-05/0.01432, allocations: 146.1 kB / 0.5732 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01432, allocations: 0 / 0.5732 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004689/0.01479, allocations: 291 kB / 0.5735 GB, free: 13.21 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.0007363/0.01553, allocations: 0.6221 MB / 0.5741 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.386e-05/0.01561, allocations: 57.38 kB / 0.5742 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01561, allocations: 0 / 0.5742 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.355e-06/0.01561, allocations: 3.938 kB / 0.5742 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.01592, allocations: 0.7101 MB / 0.5749 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.01617, allocations: 284.3 kB / 0.5752 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.821e-05/0.0162, allocations: 55.42 kB / 0.5752 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.253e-05/0.01621, allocations: 7.984 kB / 0.5752 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.187e-05/0.01622, allocations: 12.44 kB / 0.5752 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of SimCode: time 7.01e-07/0.01622, allocations: 0 / 0.5752 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.006861/0.02308, allocations: 5.978 MB / 0.5811 GB, free: 5.473 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.6827143649570644]