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.0008963/0.0008963, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.0008965/0.0008965, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.8776/0.8776, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.001657/0.001657, allocations: 240.9 kB / 261.3 MB, free: 12.65 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.6858/0.6858, allocations: 138.4 MB / 456.3 MB, free: 30.07 MB / 410.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.262e-06/1.262e-06, allocations: 0 / 0.5564 GB, free: 15.79 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.457e-05/1.583e-05, allocations: 6.156 kB / 0.5564 GB, free: 15.78 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002139/0.002155, allocations: 1.489 MB / 0.5579 GB, free: 14.28 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003688/0.005842, allocations: 2.776 MB / 0.5606 GB, free: 11.48 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.871e-05/0.005881, allocations: 0 / 0.5606 GB, free: 11.48 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.863e-05/0.0059, allocations: 7.938 kB / 0.5606 GB, free: 11.48 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.077e-05/0.005961, allocations: 19.8 kB / 0.5606 GB, free: 11.46 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.009195, allocations: 1.65 MB / 0.5622 GB, free: 9.82 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.002e-05/0.009275, allocations: 51.67 kB / 0.5623 GB, free: 9.77 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.157e-05/0.009307, allocations: 7.875 kB / 0.5623 GB, free: 9.762 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.612e-05/0.009343, allocations: 15.98 kB / 0.5623 GB, free: 9.746 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.607e-05/0.009369, allocations: 19.92 kB / 0.5623 GB, free: 9.727 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.407e-06/0.009378, allocations: 0 / 0.5623 GB, free: 9.727 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.01129, allocations: 1.497 MB / 0.5638 GB, free: 8.227 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.0113, allocations: 0 / 0.5638 GB, free: 8.227 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.01132, allocations: 11.94 kB / 0.5638 GB, free: 8.215 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.01282, allocations: 1.294 MB / 0.5651 GB, free: 6.918 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.01282, allocations: 0 / 0.5651 GB, free: 6.918 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01283, allocations: 4 kB / 0.5651 GB, free: 6.914 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.01283, allocations: 0 / 0.5651 GB, free: 6.914 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.0005285/0.01336, allocations: 0.5527 MB / 0.5656 GB, free: 6.324 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.01339, allocations: 9.219 kB / 0.5656 GB, free: 6.316 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/0.01344, allocations: 132.1 kB / 0.5657 GB, free: 6.188 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.01355, allocations: 243.7 kB / 0.566 GB, free: 5.922 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.805e-05/0.01361, allocations: 238.8 kB / 0.5662 GB, free: 5.688 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/0.01367, allocations: 242.8 kB / 0.5664 GB, free: 5.449 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.75e-05/0.01373, allocations: 149.4 kB / 0.5666 GB, free: 5.297 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.01376, allocations: 123.4 kB / 0.5667 GB, free: 5.176 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.809e-05/0.01382, allocations: 242.5 kB / 0.5669 GB, free: 4.938 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.806e-05/0.01387, allocations: 242.4 kB / 0.5672 GB, free: 4.699 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.561e-05/0.01393, allocations: 238.4 kB / 0.5674 GB, free: 4.465 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000243/0.01417, allocations: 0.5647 MB / 0.5679 GB, free: 3.875 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.168e-05/0.01425, allocations: 269.4 kB / 0.5682 GB, free: 3.598 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.447e-05/0.01429, allocations: 126.9 kB / 0.5683 GB, free: 3.469 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.01432, allocations: 123.2 kB / 0.5684 GB, free: 3.348 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.01436, allocations: 160.6 kB / 0.5686 GB, free: 3.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.01436, allocations: 0 / 0.5686 GB, free: 3.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 5.394e-05/0.01442, allocations: 33.66 kB / 0.5686 GB, free: 3.141 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.01448, allocations: 170.6 kB / 0.5688 GB, free: 2.961 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.01458, allocations: 192.5 kB / 0.569 GB, free: 2.758 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.01459, allocations: 25.7 kB / 0.569 GB, free: 2.727 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.01464, allocations: 142.8 kB / 0.5691 GB, free: 2.582 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.242e-06/0.01464, allocations: 3.938 kB / 0.5691 GB, free: 2.578 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.01467, allocations: 35.36 kB / 0.5692 GB, free: 2.535 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003508/0.01502, allocations: 0.4923 MB / 0.5696 GB, free: 2.031 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.206e-05/0.01504, allocations: 4 kB / 0.5696 GB, free: 2.027 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-06/0.01505, allocations: 4 kB / 0.5697 GB, free: 2.023 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.886e-05/0.01508, allocations: 11.69 kB / 0.5697 GB, free: 2.008 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01508, allocations: 0 / 0.5697 GB, free: 2.008 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.84e-05/0.01516, allocations: 37.7 kB / 0.5697 GB, free: 1.965 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.01518, allocations: 8 kB / 0.5697 GB, free: 1.957 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.01519, allocations: 7.984 kB / 0.5697 GB, free: 1.949 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.612e-06/0.0152, allocations: 64 / 0.5697 GB, free: 1.949 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.314e-06/0.0152, allocations: 4 kB / 0.5697 GB, free: 1.945 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.01521, allocations: 7.875 kB / 0.5697 GB, free: 1.938 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.966e-05/0.01523, allocations: 11.95 kB / 0.5697 GB, free: 1.926 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.01523, allocations: 3.984 kB / 0.5697 GB, free: 1.922 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.377e-05/0.01532, allocations: 279.8 kB / 0.57 GB, free: 1.637 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/0.01537, allocations: 156.9 kB / 0.5702 GB, free: 1.477 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.355e-05/0.01541, allocations: 152.7 kB / 0.5703 GB, free: 1.324 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.025e-05/0.01547, allocations: 272 kB / 0.5706 GB, free: 1.051 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.804e-05/0.01553, allocations: 264.1 kB / 0.5708 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.243e-05/0.0156, allocations: 272 kB / 0.5711 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.01579, allocations: 492.5 kB / 0.5715 GB, free: 16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.49e-05/0.01583, allocations: 144.9 kB / 0.5717 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.01587, allocations: 152.8 kB / 0.5718 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.875e-05/0.01592, allocations: 268.1 kB / 0.5721 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-05/0.01599, allocations: 275.9 kB / 0.5723 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.736e-05/0.01604, allocations: 264.1 kB / 0.5726 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.014e-05/0.0161, allocations: 272 kB / 0.5729 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.01623, allocations: 444 kB / 0.5733 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.01628, allocations: 160.8 kB / 0.5734 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-05/0.01635, allocations: 268.1 kB / 0.5737 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.506e-05/0.01642, allocations: 148.8 kB / 0.5738 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.01648, allocations: 264.1 kB / 0.5741 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.01652, allocations: 144.9 kB / 0.5742 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.851e-05/0.01656, allocations: 151.1 kB / 0.5744 GB, free: 13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01656, allocations: 0 / 0.5744 GB, free: 13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006033/0.01717, allocations: 295 kB / 0.5746 GB, free: 12.71 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.0008602/0.01803, allocations: 0.641 MB / 0.5753 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.689e-05/0.0181, allocations: 61.38 kB / 0.5753 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01811, allocations: 0 / 0.5753 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.01811, allocations: 0 / 0.5753 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.01849, allocations: 0.7101 MB / 0.576 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000246/0.01873, allocations: 280 kB / 0.5763 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.995e-05/0.01877, allocations: 63.41 kB / 0.5764 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.128e-05/0.01878, allocations: 4 kB / 0.5764 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/0.01884, allocations: 74.2 kB / 0.5764 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.01884, allocations: 0 / 0.5764 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of Templates: time 0.008259/0.0271, allocations: 7.365 MB / 0.5836 GB, free: 3.504 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.5734323360957205]