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.001226/0.001226, 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.0009401/0.0009401, allocations: 169 kB / 23.02 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.9606/0.9606, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.00172/0.00172, allocations: 234 kB / 260.2 MB, free: 12.84 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.6902/0.6902, allocations: 138.4 MB / 455.2 MB, free: 1.5 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.353e-06/1.353e-06, allocations: 0 / 0.5552 GB, free: 396 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.031e-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.InternalResistancesTwoUTubeNegative): time 0.001742/0.001762, allocations: 1.488 MB / 0.5567 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003125/0.004887, allocations: 2.841 MB / 0.5595 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.107e-05/0.004918, allocations: 4 kB / 0.5595 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.342e-05/0.004941, allocations: 7.922 kB / 0.5595 GB, free: 12.01 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.576e-05/0.004997, allocations: 15.8 kB / 0.5595 GB, free: 11.99 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.007517, allocations: 1.66 MB / 0.5611 GB, free: 10.34 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.687e-05/0.007593, allocations: 43.67 kB / 0.5611 GB, free: 10.29 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.645e-05/0.00763, allocations: 4 kB / 0.5611 GB, free: 10.29 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.283e-05/0.007673, allocations: 19.98 kB / 0.5612 GB, free: 10.27 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.286e-05/0.007696, allocations: 15.92 kB / 0.5612 GB, free: 10.25 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.007708, allocations: 0 / 0.5612 GB, free: 10.25 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.009366, allocations: 1.493 MB / 0.5626 GB, free: 8.758 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.009377, allocations: 0 / 0.5626 GB, free: 8.758 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.009403, allocations: 15.92 kB / 0.5627 GB, free: 8.742 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.01054, allocations: 1.278 MB / 0.5639 GB, free: 7.461 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.01054, allocations: 4 kB / 0.5639 GB, free: 7.457 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.01054, allocations: 0 / 0.5639 GB, free: 7.457 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.01055, allocations: 0 / 0.5639 GB, free: 7.457 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.000436/0.01099, allocations: 0.5605 MB / 0.5645 GB, free: 6.859 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.01102, allocations: 8.031 kB / 0.5645 GB, free: 6.852 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/0.01108, allocations: 128.1 kB / 0.5646 GB, free: 6.727 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.01119, allocations: 239.6 kB / 0.5648 GB, free: 6.465 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/0.01124, allocations: 242.8 kB / 0.565 GB, free: 6.227 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/0.0113, allocations: 242.7 kB / 0.5653 GB, free: 5.988 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.405e-05/0.01135, allocations: 145.5 kB / 0.5654 GB, free: 5.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.01138, allocations: 123.4 kB / 0.5655 GB, free: 5.719 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-05/0.01143, allocations: 242.5 kB / 0.5658 GB, free: 5.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.534e-05/0.01149, allocations: 242.4 kB / 0.566 GB, free: 5.242 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.51e-05/0.01154, allocations: 246.3 kB / 0.5662 GB, free: 5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.01176, allocations: 0.5836 MB / 0.5668 GB, free: 4.383 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.65e-05/0.01185, allocations: 269.4 kB / 0.5671 GB, free: 4.105 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.01188, allocations: 126.9 kB / 0.5672 GB, free: 3.977 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.01191, allocations: 119.2 kB / 0.5673 GB, free: 3.859 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.01195, allocations: 152.6 kB / 0.5674 GB, free: 3.699 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 6.41e-07/0.01195, allocations: 4 kB / 0.5674 GB, free: 3.695 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 5.97e-05/0.01201, allocations: 33.62 kB / 0.5675 GB, free: 3.656 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.01206, allocations: 178.6 kB / 0.5676 GB, free: 3.469 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.01217, allocations: 200.9 kB / 0.5678 GB, free: 3.258 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.01218, allocations: 25.7 kB / 0.5679 GB, free: 3.227 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.01222, allocations: 134.9 kB / 0.568 GB, free: 3.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.01223, allocations: 0 / 0.568 GB, free: 3.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.01225, allocations: 35.36 kB / 0.568 GB, free: 3.047 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.01235, allocations: 496.1 kB / 0.5685 GB, free: 2.551 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.01237, allocations: 4 kB / 0.5685 GB, free: 2.547 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.09e-05/0.01238, allocations: 3.984 kB / 0.5685 GB, free: 2.543 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.044e-05/0.01241, allocations: 23.75 kB / 0.5685 GB, free: 2.516 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01241, allocations: 0 / 0.5685 GB, free: 2.516 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001041/0.01251, allocations: 45.59 kB / 0.5686 GB, free: 2.465 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.01253, allocations: 8 kB / 0.5686 GB, free: 2.457 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.01254, allocations: 0 / 0.5686 GB, free: 2.457 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.01255, allocations: 4 kB / 0.5686 GB, free: 2.453 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.711e-06/0.01256, allocations: 11.98 kB / 0.5686 GB, free: 2.441 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.01256, allocations: 0 / 0.5686 GB, free: 2.441 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.249e-05/0.01258, allocations: 3.938 kB / 0.5686 GB, free: 2.438 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.01258, allocations: 0 / 0.5686 GB, free: 2.438 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.738e-05/0.01266, allocations: 279.8 kB / 0.5689 GB, free: 2.152 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.01284, allocations: 156.8 kB / 0.569 GB, free: 1.992 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.01288, allocations: 148.7 kB / 0.5691 GB, free: 1.844 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.496e-05/0.01294, allocations: 272.1 kB / 0.5694 GB, free: 1.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.899e-05/0.013, allocations: 279.9 kB / 0.5697 GB, free: 1.289 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.543e-05/0.01305, allocations: 264.1 kB / 0.5699 GB, free: 1.023 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.0132, allocations: 0.4959 MB / 0.5704 GB, free: 496 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.711e-05/0.01323, allocations: 148.9 kB / 0.5706 GB, free: 340 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.849e-05/0.01325, allocations: 152.9 kB / 0.5707 GB, free: 180 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.293e-05/0.01332, allocations: 276.2 kB / 0.571 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.136e-05/0.01337, allocations: 268.1 kB / 0.5712 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.103e-05/0.01342, allocations: 272 kB / 0.5715 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.131e-05/0.01347, allocations: 264.1 kB / 0.5717 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.01358, allocations: 459.8 kB / 0.5722 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.01362, allocations: 144.9 kB / 0.5723 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.01368, allocations: 272 kB / 0.5726 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.183e-05/0.01373, allocations: 144.9 kB / 0.5727 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.01379, allocations: 280 kB / 0.573 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.01382, allocations: 148.8 kB / 0.5731 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.475e-05/0.01386, allocations: 139.2 kB / 0.5732 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01386, allocations: 0 / 0.5732 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004223/0.01428, allocations: 299 kB / 0.5735 GB, free: 13.18 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.0007245/0.01501, allocations: 0.6337 MB / 0.5741 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.887e-05/0.0151, allocations: 53.38 kB / 0.5742 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.0151, allocations: 0 / 0.5742 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.966e-06/0.0151, allocations: 7.938 kB / 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.0003053/0.01541, 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.0002498/0.01566, allocations: 278.8 kB / 0.5752 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.267e-05/0.01569, allocations: 59.34 kB / 0.5752 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.047e-05/0.0157, allocations: 3.938 kB / 0.5752 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.44e-05/0.01572, allocations: 12.5 kB / 0.5752 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.01572, allocations: 0 / 0.5752 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of Templates: time 0.006566/0.02228, allocations: 5.979 MB / 0.5811 GB, free: 5.441 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.737860056106001]