Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 102.5 kB / 16.27 MB, free: 6.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 184.9 kB / 17.19 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7636/0.7636, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5396/0.5409, allocations: 77.92 MB / 0.5673 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003494/0.5444, allocations: 1.425 MB / 0.5687 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006488/0.551, allocations: 2.887 MB / 0.5715 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.5511, allocations: 2.281 kB / 0.5715 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.713e-05/0.5512, allocations: 9.703 kB / 0.5715 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.5513, allocations: 15.38 kB / 0.5715 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007963/0.5593, allocations: 1.575 MB / 0.573 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.5595, allocations: 47.25 kB / 0.5731 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.919e-05/0.5596, allocations: 2.797 kB / 0.5731 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.909e-05/0.5597, allocations: 21.25 kB / 0.5731 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.171e-05/0.5598, allocations: 14.05 kB / 0.5731 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.5598, allocations: 4 kB / 0.5731 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005892/0.5657, allocations: 1.46 MB / 0.5745 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.252e-05/0.5658, allocations: 11.66 kB / 0.5746 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.974e-05/0.5658, allocations: 20.05 kB / 0.5746 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004434/0.5703, allocations: 1.107 MB / 0.5757 GB, free: 28.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5703, allocations: 5.344 kB / 0.5757 GB, free: 28.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5703, allocations: 1.281 kB / 0.5757 GB, free: 28.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.5704, allocations: 0 / 0.5757 GB, free: 28.32 MB / 446.1 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.001453/0.5718, allocations: 0.5192 MB / 0.5762 GB, free: 27.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.5719, allocations: 10.5 kB / 0.5762 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.006e-05/0.572, allocations: 79.2 kB / 0.5763 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.5721, allocations: 261.8 kB / 0.5765 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/0.5722, allocations: 155.7 kB / 0.5767 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.5722, allocations: 152.6 kB / 0.5768 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.725e-05/0.5723, allocations: 107.4 kB / 0.5769 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.5723, allocations: 76.53 kB / 0.577 GB, free: 26.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.5724, allocations: 151.2 kB / 0.5771 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.5724, allocations: 151.1 kB / 0.5773 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.238e-05/0.5724, allocations: 157.9 kB / 0.5774 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.5728, allocations: 462.4 kB / 0.5779 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.587e-05/0.5729, allocations: 171.9 kB / 0.578 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/0.5729, allocations: 81.02 kB / 0.5781 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.5729, allocations: 77.56 kB / 0.5782 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.573, allocations: 112.1 kB / 0.5783 GB, free: 25.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.444e-06/0.573, allocations: 0.9375 kB / 0.5783 GB, free: 25.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.000108/0.5731, allocations: 37.67 kB / 0.5783 GB, free: 25.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.5731, allocations: 129.4 kB / 0.5784 GB, free: 25.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.5733, allocations: 135.5 kB / 0.5786 GB, free: 25.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.5734, allocations: 26.36 kB / 0.5786 GB, free: 25.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.5734, allocations: 91.44 kB / 0.5787 GB, free: 25.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.5734, allocations: 2.812 kB / 0.5787 GB, free: 25.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.5735, allocations: 15.92 kB / 0.5787 GB, free: 25.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.995e-05/0.5736, allocations: 320.2 kB / 0.579 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.479e-05/0.5736, allocations: 2.781 kB / 0.579 GB, free: 24.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.319e-05/0.5736, allocations: 8.562 kB / 0.579 GB, free: 24.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.742e-05/0.5737, allocations: 12.44 kB / 0.579 GB, free: 24.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5737, allocations: 1.344 kB / 0.579 GB, free: 24.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001713/0.5739, allocations: 61.27 kB / 0.5791 GB, free: 24.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.5739, allocations: 6.031 kB / 0.5791 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.774e-05/0.574, allocations: 8.031 kB / 0.5791 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.574, allocations: 5.359 kB / 0.5791 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.106e-06/0.574, allocations: 1.484 kB / 0.5791 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.574, allocations: 0 / 0.5791 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.209e-05/0.5741, allocations: 6.75 kB / 0.5791 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.5741, allocations: 1.984 kB / 0.5791 GB, free: 24.79 MB / 446.1 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.484e-05/0.5742, allocations: 183.9 kB / 0.5793 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.5743, allocations: 112.7 kB / 0.5794 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.5743, allocations: 122.3 kB / 0.5795 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.471e-05/0.5744, allocations: 184.9 kB / 0.5797 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.053e-05/0.5744, allocations: 186.8 kB / 0.5799 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-05/0.5744, allocations: 179.8 kB / 0.58 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.5746, allocations: 410.7 kB / 0.5804 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-05/0.5747, allocations: 111 kB / 0.5805 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/0.5747, allocations: 106.5 kB / 0.5806 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.037e-05/0.5747, allocations: 183.1 kB / 0.5808 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.5748, allocations: 178.3 kB / 0.581 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.802e-05/0.5748, allocations: 180.9 kB / 0.5812 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.302e-05/0.5749, allocations: 182.5 kB / 0.5813 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.575, allocations: 311.7 kB / 0.5816 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.575, allocations: 184 kB / 0.5818 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.5751, allocations: 179.2 kB / 0.582 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-05/0.5752, allocations: 107.5 kB / 0.5821 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.5753, allocations: 184 kB / 0.5823 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.5753, allocations: 110.8 kB / 0.5824 GB, free: 21.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.734e-05/0.5754, allocations: 99.81 kB / 0.5825 GB, free: 21.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5754, allocations: 0 / 0.5825 GB, free: 21.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001795/0.5772, allocations: 283.9 kB / 0.5827 GB, free: 21.17 MB / 446.1 MB 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.002629/0.5798, allocations: 0.5304 MB / 0.5832 GB, free: 20.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.58, allocations: 44.58 kB / 0.5833 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.58, allocations: 2.219 kB / 0.5833 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.296e-06/0.58, allocations: 1.281 kB / 0.5833 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.5805, allocations: 474.8 kB / 0.5837 GB, free: 20.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.5809, allocations: 243 kB / 0.584 GB, free: 20.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.5811, allocations: 0.6838 MB / 0.5846 GB, free: 19.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.301e-05/0.5811, allocations: 0 / 0.5846 GB, free: 19.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.5812, allocations: 10.41 kB / 0.5847 GB, free: 19.5 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5812, allocations: 0 / 0.5847 GB, free: 19.5 MB / 446.1 MB Notification: Performance of Templates: time 0.01532/0.5965, allocations: 5.656 MB / 0.5902 GB, free: 16.72 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)