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.0008965/0.0008965, allocations: 92.2 kB / 20.19 MB, free: 4.352 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.000999/0.000999, allocations: 169 kB / 23.49 MB, free: 1.047 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.9222/0.9222, allocations: 177.1 MB / 203.8 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.001646/0.001646, allocations: 232.7 kB / 260.5 MB, free: 12.9 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.7036/0.7036, allocations: 138.4 MB / 455.4 MB, free: 1.559 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.994e-06/1.994e-06, allocations: 0 / 0.5551 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.843e-05, allocations: 9.344 kB / 0.5551 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002629/0.002658, allocations: 1.484 MB / 0.5566 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004403/0.007061, allocations: 2.829 MB / 0.5593 GB, free: 12.43 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.941e-05/0.00711, allocations: 0 / 0.5593 GB, free: 12.43 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.579e-05/0.007136, allocations: 7.922 kB / 0.5594 GB, free: 12.43 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.742e-05/0.007204, allocations: 15.8 kB / 0.5594 GB, free: 12.41 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003831/0.01104, allocations: 1.654 MB / 0.561 GB, free: 10.76 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.293e-05/0.01113, allocations: 39.67 kB / 0.561 GB, free: 10.72 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.01117, allocations: 15.91 kB / 0.561 GB, free: 10.7 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.155e-05/0.01121, allocations: 19.98 kB / 0.5611 GB, free: 10.68 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.561e-05/0.01124, allocations: 11.94 kB / 0.5611 GB, free: 10.67 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.01125, allocations: 0 / 0.5611 GB, free: 10.67 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/0.01347, allocations: 1.485 MB / 0.5625 GB, free: 9.184 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.01348, allocations: 4 kB / 0.5625 GB, free: 9.18 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.01351, allocations: 19.94 kB / 0.5625 GB, free: 9.16 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001836/0.01535, allocations: 1.278 MB / 0.5638 GB, free: 7.879 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.01535, allocations: 0 / 0.5638 GB, free: 7.879 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01535, allocations: 0 / 0.5638 GB, free: 7.879 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.01536, allocations: 0 / 0.5638 GB, free: 7.879 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.0006017/0.01596, allocations: 0.5566 MB / 0.5643 GB, free: 7.285 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.016, allocations: 16.02 kB / 0.5643 GB, free: 7.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.642e-05/0.01607, allocations: 120.1 kB / 0.5645 GB, free: 7.152 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.0162, allocations: 247.6 kB / 0.5647 GB, free: 6.883 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.024e-05/0.01626, allocations: 242.7 kB / 0.5649 GB, free: 6.645 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-05/0.01632, allocations: 238.8 kB / 0.5652 GB, free: 6.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.4e-05/0.01639, allocations: 153.5 kB / 0.5653 GB, free: 6.254 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.01642, allocations: 119.4 kB / 0.5654 GB, free: 6.137 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-05/0.01647, allocations: 242.5 kB / 0.5656 GB, free: 5.898 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.848e-05/0.01653, allocations: 238.4 kB / 0.5659 GB, free: 5.664 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.855e-05/0.01659, allocations: 238.4 kB / 0.5661 GB, free: 5.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.01688, allocations: 0.5953 MB / 0.5667 GB, free: 4.801 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.1e-05/0.01697, allocations: 261.4 kB / 0.5669 GB, free: 4.531 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.01701, allocations: 130.9 kB / 0.5671 GB, free: 4.398 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.01704, allocations: 123.2 kB / 0.5672 GB, free: 4.277 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.01709, allocations: 152.6 kB / 0.5673 GB, free: 4.117 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.011e-06/0.01709, allocations: 4 kB / 0.5673 GB, free: 4.113 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 7.525e-05/0.01716, allocations: 33.64 kB / 0.5674 GB, free: 4.074 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.01722, allocations: 174.6 kB / 0.5675 GB, free: 3.891 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.01737, allocations: 201.8 kB / 0.5677 GB, free: 3.676 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.01738, allocations: 25.7 kB / 0.5677 GB, free: 3.645 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.01744, allocations: 138.9 kB / 0.5679 GB, free: 3.504 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-06/0.01745, allocations: 0 / 0.5679 GB, free: 3.504 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.01749, allocations: 31.36 kB / 0.5679 GB, free: 3.465 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.01763, allocations: 496.1 kB / 0.5684 GB, free: 2.969 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.01765, allocations: 4 kB / 0.5684 GB, free: 2.965 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.556e-05/0.01766, allocations: 4 kB / 0.5684 GB, free: 2.961 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.298e-05/0.01771, allocations: 23.77 kB / 0.5684 GB, free: 2.934 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01771, allocations: 0 / 0.5684 GB, free: 2.934 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001335/0.01784, allocations: 53.59 kB / 0.5685 GB, free: 2.875 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.01786, allocations: 4 kB / 0.5685 GB, free: 2.871 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/0.01788, allocations: 4 kB / 0.5685 GB, free: 2.867 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.0179, allocations: 0 / 0.5685 GB, free: 2.867 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.144e-06/0.0179, allocations: 3.938 kB / 0.5685 GB, free: 2.863 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.0179, allocations: 0 / 0.5685 GB, free: 2.863 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.01793, allocations: 7.938 kB / 0.5685 GB, free: 2.855 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.01793, allocations: 0 / 0.5685 GB, free: 2.855 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.866e-05/0.01803, allocations: 279.8 kB / 0.5687 GB, free: 2.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-05/0.0181, allocations: 156.8 kB / 0.5689 GB, free: 2.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.176e-05/0.01815, allocations: 156.7 kB / 0.569 GB, free: 2.254 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.469e-05/0.01822, allocations: 268 kB / 0.5693 GB, free: 1.984 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.102e-05/0.01829, allocations: 275.9 kB / 0.5696 GB, free: 1.707 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.718e-05/0.01835, allocations: 268.1 kB / 0.5698 GB, free: 1.438 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.01857, allocations: 0.5037 MB / 0.5703 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.879e-05/0.01861, allocations: 144.9 kB / 0.5704 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.01865, allocations: 144.9 kB / 0.5706 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001994/0.01885, allocations: 276.2 kB / 0.5708 GB, free: 324 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.714e-05/0.01892, allocations: 272.1 kB / 0.5711 GB, free: 44 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.242e-05/0.01899, allocations: 268 kB / 0.5714 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-05/0.01905, allocations: 268.1 kB / 0.5716 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.0192, allocations: 455.8 kB / 0.5721 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.01924, allocations: 148.9 kB / 0.5722 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-05/0.01932, allocations: 268 kB / 0.5725 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.235e-05/0.0194, allocations: 148.9 kB / 0.5726 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.542e-05/0.01947, allocations: 272 kB / 0.5729 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.407e-05/0.01952, allocations: 156.8 kB / 0.573 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.747e-05/0.01958, allocations: 142.1 kB / 0.5731 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01958, allocations: 4 kB / 0.5731 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007854/0.02037, allocations: 295 kB / 0.5734 GB, free: 13.59 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.001144/0.02151, allocations: 0.6295 MB / 0.574 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001131/0.02163, allocations: 49.39 kB / 0.5741 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02163, allocations: 0 / 0.5741 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/0.02163, allocations: 8 kB / 0.5741 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.02209, allocations: 0.7101 MB / 0.5748 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.02241, allocations: 276.3 kB / 0.5751 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.766e-05/0.02245, allocations: 55.34 kB / 0.5751 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.16e-05/0.02247, allocations: 4 kB / 0.5751 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.611e-05/0.02249, allocations: 12.44 kB / 0.5751 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of SimCode: time 7.82e-07/0.02249, allocations: 4 kB / 0.5751 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of Templates: time 0.01057/0.03306, allocations: 5.974 MB / 0.581 GB, free: 5.863 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.627540930872783]