Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.001022/0.001022, 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.001035/0.001035, 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.9193/0.9193, 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.001584/0.001584, allocations: 240.5 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.6771/0.6771, allocations: 138.4 MB / 455.2 MB, free: 1.535 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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5552 GB, free: 428 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.206e-05, allocations: 2.312 kB / 0.5552 GB, free: 424 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002558/0.00258, allocations: 1.491 MB / 0.5567 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004374/0.006954, allocations: 2.848 MB / 0.5594 GB, free: 12.05 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.673e-05/0.006991, allocations: 0 / 0.5594 GB, free: 12.05 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.007021, allocations: 11.92 kB / 0.5595 GB, free: 12.04 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.103e-05/0.007092, allocations: 15.8 kB / 0.5595 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.01046, allocations: 1.652 MB / 0.5611 GB, free: 10.37 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.07e-05/0.01055, allocations: 43.62 kB / 0.5611 GB, free: 10.32 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.01059, allocations: 11.92 kB / 0.5611 GB, free: 10.31 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.219e-05/0.01063, allocations: 15.98 kB / 0.5612 GB, free: 10.3 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.896e-05/0.01066, allocations: 15.94 kB / 0.5612 GB, free: 10.28 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.01067, allocations: 0 / 0.5612 GB, free: 10.28 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.01273, allocations: 1.489 MB / 0.5626 GB, free: 8.789 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.01274, allocations: 4 kB / 0.5626 GB, free: 8.785 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.01277, allocations: 11.94 kB / 0.5626 GB, free: 8.773 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.01434, allocations: 1.282 MB / 0.5639 GB, free: 7.488 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.01434, allocations: 0 / 0.5639 GB, free: 7.488 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01434, allocations: 0 / 0.5639 GB, free: 7.488 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.01435, allocations: 0 / 0.5639 GB, free: 7.488 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.0005607/0.01491, allocations: 0.5644 MB / 0.5644 GB, free: 6.887 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.01495, allocations: 12.03 kB / 0.5645 GB, free: 6.875 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.819e-05/0.01502, allocations: 120.1 kB / 0.5646 GB, free: 6.758 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.01516, allocations: 251.6 kB / 0.5648 GB, free: 6.484 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.027e-05/0.01523, allocations: 238.8 kB / 0.565 GB, free: 6.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/0.01531, allocations: 238.8 kB / 0.5653 GB, free: 6.016 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.388e-05/0.01538, allocations: 149.5 kB / 0.5654 GB, free: 5.863 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.01542, allocations: 119.4 kB / 0.5655 GB, free: 5.746 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.396e-05/0.01549, allocations: 246.4 kB / 0.5658 GB, free: 5.504 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.725e-05/0.01556, allocations: 238.4 kB / 0.566 GB, free: 5.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.966e-05/0.01563, allocations: 246.3 kB / 0.5662 GB, free: 5.027 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.01593, allocations: 0.5875 MB / 0.5668 GB, free: 4.406 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.01604, allocations: 265.4 kB / 0.567 GB, free: 4.133 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.01609, allocations: 126.9 kB / 0.5672 GB, free: 4.004 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.01613, allocations: 123.2 kB / 0.5673 GB, free: 3.883 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.932e-05/0.01619, allocations: 156.6 kB / 0.5674 GB, free: 3.719 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.01619, allocations: 0 / 0.5674 GB, free: 3.719 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 7.481e-05/0.01626, allocations: 33.64 kB / 0.5675 GB, free: 3.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.01632, allocations: 178.6 kB / 0.5676 GB, free: 3.492 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.01644, allocations: 200.9 kB / 0.5678 GB, free: 3.281 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.01645, allocations: 25.7 kB / 0.5679 GB, free: 3.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.0165, allocations: 138.9 kB / 0.568 GB, free: 3.109 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.0165, allocations: 0 / 0.568 GB, free: 3.109 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.01653, allocations: 27.36 kB / 0.568 GB, free: 3.074 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.01664, allocations: 0.4923 MB / 0.5685 GB, free: 2.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/0.01666, allocations: 0 / 0.5685 GB, free: 2.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.277e-05/0.01667, allocations: 7.984 kB / 0.5685 GB, free: 2.562 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.242e-05/0.0167, allocations: 11.69 kB / 0.5685 GB, free: 2.547 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.0167, allocations: 0 / 0.5685 GB, free: 2.547 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.886e-05/0.0168, allocations: 57.66 kB / 0.5686 GB, free: 2.484 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.01681, allocations: 4 kB / 0.5686 GB, free: 2.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.01683, allocations: 4 kB / 0.5686 GB, free: 2.477 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.01684, allocations: 0 / 0.5686 GB, free: 2.477 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.699e-06/0.01685, allocations: 3.938 kB / 0.5686 GB, free: 2.473 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.01685, allocations: 3.984 kB / 0.5686 GB, free: 2.469 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.45e-05/0.01687, allocations: 12 kB / 0.5686 GB, free: 2.457 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.01687, allocations: 0 / 0.5686 GB, free: 2.457 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.565e-05/0.01696, allocations: 271.8 kB / 0.5689 GB, free: 2.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.01701, allocations: 160.8 kB / 0.569 GB, free: 2.016 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.393e-05/0.01705, allocations: 152.7 kB / 0.5692 GB, free: 1.863 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.788e-05/0.01711, allocations: 268.1 kB / 0.5694 GB, free: 1.594 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.664e-05/0.01718, allocations: 272 kB / 0.5697 GB, free: 1.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.333e-05/0.01724, allocations: 268.1 kB / 0.5699 GB, free: 1.051 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.01741, allocations: 0.5037 MB / 0.5704 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.746e-05/0.01745, allocations: 148.8 kB / 0.5706 GB, free: 360 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.01749, allocations: 152.9 kB / 0.5707 GB, free: 200 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.917e-05/0.01756, allocations: 272.2 kB / 0.571 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.926e-05/0.01762, allocations: 268.1 kB / 0.5712 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-05/0.01768, allocations: 272 kB / 0.5715 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.114e-05/0.01774, allocations: 268.1 kB / 0.5717 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.01787, allocations: 451.8 kB / 0.5722 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.0179, allocations: 148.9 kB / 0.5723 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.858e-05/0.01797, allocations: 272 kB / 0.5726 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.382e-05/0.01802, allocations: 148.9 kB / 0.5727 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.107e-05/0.01808, allocations: 275.9 kB / 0.573 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.01811, allocations: 144.9 kB / 0.5731 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.908e-05/0.01816, 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.01816, allocations: 0 / 0.5732 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004053/0.01857, allocations: 299 kB / 0.5735 GB, free: 13.2 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.0007728/0.01934, allocations: 0.6287 MB / 0.5741 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.721e-05/0.01944, allocations: 53.38 kB / 0.5742 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01944, allocations: 0 / 0.5742 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.865e-06/0.01944, allocations: 3.938 kB / 0.5742 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.01977, allocations: 0.7101 MB / 0.5749 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.02004, allocations: 284.3 kB / 0.5752 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.204e-05/0.02007, allocations: 55.34 kB / 0.5752 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.034e-05/0.02008, allocations: 8 kB / 0.5752 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.0201, allocations: 12.5 kB / 0.5752 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.0201, allocations: 0 / 0.5752 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.01048/0.03058, allocations: 8.04 MB / 0.5831 GB, free: 3.395 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.692281042225659]