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.001321/0.001321, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001447/0.001447, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9037/0.9037, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.00165/0.00165, allocations: 232.8 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.6923/0.6923, allocations: 138.4 MB / 455.4 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.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.483e-06/1.483e-06, allocations: 0 / 0.5551 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.399e-05, allocations: 9.625 kB / 0.5551 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001919/0.001943, allocations: 1.488 MB / 0.5566 GB, free: 15.26 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003293/0.005237, allocations: 2.837 MB / 0.5593 GB, free: 12.41 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.005285, allocations: 0 / 0.5593 GB, free: 12.41 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.24e-05/0.005308, allocations: 7.922 kB / 0.5594 GB, free: 12.4 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.939e-05/0.005367, allocations: 11.88 kB / 0.5594 GB, free: 12.39 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002921/0.008289, allocations: 1.665 MB / 0.561 GB, free: 10.73 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.635e-05/0.008375, allocations: 43.67 kB / 0.561 GB, free: 10.68 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.602e-05/0.008411, allocations: 4 kB / 0.561 GB, free: 10.68 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.499e-05/0.008446, allocations: 15.98 kB / 0.5611 GB, free: 10.66 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.257e-05/0.008469, allocations: 19.92 kB / 0.5611 GB, free: 10.64 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.828e-06/0.008478, allocations: 0 / 0.5611 GB, free: 10.64 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.0101, allocations: 1.481 MB / 0.5625 GB, free: 9.16 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.01011, allocations: 8 kB / 0.5625 GB, free: 9.152 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.01014, allocations: 15.92 kB / 0.5625 GB, free: 9.137 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.01144, allocations: 1.278 MB / 0.5638 GB, free: 7.855 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.01144, allocations: 0 / 0.5638 GB, free: 7.855 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01144, allocations: 0 / 0.5638 GB, free: 7.855 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.01144, allocations: 0 / 0.5638 GB, free: 7.855 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.0004406/0.01188, allocations: 0.5605 MB / 0.5643 GB, free: 7.258 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.01192, allocations: 12.03 kB / 0.5643 GB, free: 7.246 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.01197, allocations: 120.1 kB / 0.5645 GB, free: 7.129 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.01208, allocations: 246.5 kB / 0.5647 GB, free: 6.863 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.17e-05/0.01213, allocations: 246.6 kB / 0.5649 GB, free: 6.621 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.478e-05/0.01219, allocations: 242.8 kB / 0.5652 GB, free: 6.383 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.158e-05/0.01225, allocations: 149.5 kB / 0.5653 GB, free: 6.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.01228, allocations: 119.4 kB / 0.5654 GB, free: 6.113 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.105e-05/0.01233, allocations: 246.5 kB / 0.5657 GB, free: 5.871 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.438e-05/0.01238, allocations: 242.4 kB / 0.5659 GB, free: 5.633 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.861e-05/0.01243, allocations: 238.4 kB / 0.5661 GB, free: 5.398 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002077/0.01264, allocations: 0.5875 MB / 0.5667 GB, free: 4.777 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.01286, allocations: 265.4 kB / 0.5669 GB, free: 4.504 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/0.01289, allocations: 126.9 kB / 0.5671 GB, free: 4.375 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.01291, allocations: 127.2 kB / 0.5672 GB, free: 4.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.01295, allocations: 156.6 kB / 0.5673 GB, free: 4.086 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.01295, allocations: 0 / 0.5673 GB, free: 4.086 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 4.975e-05/0.013, allocations: 37.62 kB / 0.5674 GB, free: 4.043 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.01305, allocations: 174.6 kB / 0.5675 GB, free: 3.859 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.01317, allocations: 197.8 kB / 0.5677 GB, free: 3.648 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.01318, allocations: 25.7 kB / 0.5677 GB, free: 3.617 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.01323, allocations: 142.9 kB / 0.5679 GB, free: 3.473 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.01323, allocations: 0 / 0.5679 GB, free: 3.473 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.01326, allocations: 23.38 kB / 0.5679 GB, free: 3.441 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.01336, allocations: 0.4884 MB / 0.5684 GB, free: 2.941 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.01337, allocations: 3.984 kB / 0.5684 GB, free: 2.938 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.147e-05/0.01339, allocations: 8 kB / 0.5684 GB, free: 2.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.975e-05/0.01342, allocations: 19.75 kB / 0.5684 GB, free: 2.906 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01342, allocations: 0 / 0.5684 GB, free: 2.906 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.991e-05/0.01351, allocations: 49.59 kB / 0.5685 GB, free: 2.852 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.01352, allocations: 4 kB / 0.5685 GB, free: 2.848 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.01353, allocations: 7.984 kB / 0.5685 GB, free: 2.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.01355, allocations: 0 / 0.5685 GB, free: 2.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.01355, allocations: 3.938 kB / 0.5685 GB, free: 2.836 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.01355, allocations: 0 / 0.5685 GB, free: 2.836 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.401e-05/0.01356, allocations: 7.938 kB / 0.5685 GB, free: 2.828 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.01357, allocations: 4.062 kB / 0.5685 GB, free: 2.824 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.661e-05/0.01365, allocations: 275.8 kB / 0.5687 GB, free: 2.543 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.01369, allocations: 152.8 kB / 0.5689 GB, free: 2.387 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.01372, allocations: 160.6 kB / 0.569 GB, free: 2.227 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-05/0.01377, allocations: 268 kB / 0.5693 GB, free: 1.957 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.847e-05/0.01382, allocations: 272 kB / 0.5696 GB, free: 1.684 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.896e-05/0.01387, allocations: 272.1 kB / 0.5698 GB, free: 1.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.01402, allocations: 0.4921 MB / 0.5703 GB, free: 0.875 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.872e-05/0.01405, allocations: 148.8 kB / 0.5704 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.87e-05/0.01407, allocations: 148.9 kB / 0.5706 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.278e-05/0.01413, allocations: 276.2 kB / 0.5709 GB, free: 300 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.426e-05/0.01418, allocations: 272.1 kB / 0.5711 GB, free: 20 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.629e-05/0.01424, allocations: 264.1 kB / 0.5714 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.433e-05/0.01429, allocations: 272 kB / 0.5716 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.0144, allocations: 451.8 kB / 0.5721 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.01444, allocations: 152.9 kB / 0.5722 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.0145, allocations: 268 kB / 0.5725 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.233e-05/0.01455, allocations: 152.9 kB / 0.5726 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/0.0146, allocations: 268 kB / 0.5729 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.01463, allocations: 148.8 kB / 0.573 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.331e-05/0.01467, allocations: 142 kB / 0.5731 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01467, allocations: 8 kB / 0.5731 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004606/0.01513, allocations: 295 kB / 0.5734 GB, free: 13.57 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.0007311/0.01586, allocations: 0.6333 MB / 0.574 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002306/0.01609, allocations: 49.38 kB / 0.5741 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01609, allocations: 4.062 kB / 0.5741 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.0161, allocations: 0 / 0.5741 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.01639, allocations: 0.71 MB / 0.5748 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002382/0.01663, allocations: 284.3 kB / 0.5751 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.095e-05/0.01666, allocations: 51.36 kB / 0.5751 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.099e-05/0.01667, allocations: 0 / 0.5751 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.49e-05/0.01669, allocations: 16.5 kB / 0.5751 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.01669, allocations: 0 / 0.5751 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of Templates: time 0.006813/0.0235, allocations: 5.976 MB / 0.581 GB, free: 5.836 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.5837157908827066]