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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 99.81 kB / 16.52 MB, free: 6.285 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.001464/0.001464, allocations: 194.5 kB / 17.44 MB, free: 5.902 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.42/1.42, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7512/0.7512, allocations: 115.3 MB / 406.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001452, allocations: 63.84 kB / 493.6 MB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4251, allocations: 76.17 MB / 0.5564 GB, free: 36.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00278/0.4279, allocations: 1.479 MB / 0.5579 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004566/0.4325, allocations: 3.012 MB / 0.5608 GB, free: 33.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.553e-05/0.4325, allocations: 0 / 0.5608 GB, free: 33.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.4326, allocations: 2.719 kB / 0.5608 GB, free: 33.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.528e-05/0.4327, allocations: 16.02 kB / 0.5608 GB, free: 33.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00409/0.4368, allocations: 1.407 MB / 0.5622 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.84e-05/0.4369, allocations: 42.45 kB / 0.5623 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.805e-05/0.437, allocations: 15.31 kB / 0.5623 GB, free: 32.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.172e-05/0.437, allocations: 13.41 kB / 0.5623 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.215e-05/0.4371, allocations: 14.09 kB / 0.5623 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.4371, allocations: 1.438 kB / 0.5623 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003834/0.4409, allocations: 1.472 MB / 0.5637 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.492e-05/0.441, allocations: 7.359 kB / 0.5637 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.848e-05/0.4411, allocations: 19.05 kB / 0.5638 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002292/0.4434, allocations: 0.7907 MB / 0.5645 GB, free: 31.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.4434, allocations: 1.812 kB / 0.5645 GB, free: 31.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4434, allocations: 0 / 0.5645 GB, free: 31.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.4434, allocations: 0 / 0.5645 GB, free: 31.88 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.001054/0.4445, allocations: 0.5112 MB / 0.565 GB, free: 31.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.4446, allocations: 14.53 kB / 0.565 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.552e-05/0.4446, allocations: 83.47 kB / 0.5651 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.4448, allocations: 258.9 kB / 0.5654 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.4448, allocations: 151.6 kB / 0.5655 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.4449, allocations: 157.2 kB / 0.5657 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.747e-05/0.4449, allocations: 106.7 kB / 0.5658 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.445, allocations: 76.62 kB / 0.5658 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.445, allocations: 151.3 kB / 0.566 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/0.445, allocations: 151.8 kB / 0.5661 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.449e-05/0.4451, allocations: 156.1 kB / 0.5663 GB, free: 30.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.4454, allocations: 470.9 kB / 0.5667 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.572e-05/0.4455, allocations: 167.7 kB / 0.5669 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.812e-05/0.4455, allocations: 81.27 kB / 0.567 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.4455, allocations: 77.27 kB / 0.567 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.4456, allocations: 115.6 kB / 0.5672 GB, free: 29.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.4456, allocations: 0 / 0.5672 GB, free: 29.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 9.606e-05/0.4457, allocations: 35.19 kB / 0.5672 GB, free: 29.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.4457, allocations: 127.3 kB / 0.5673 GB, free: 28.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.4459, allocations: 137.2 kB / 0.5674 GB, free: 28.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.677e-06/0.4459, allocations: 28.2 kB / 0.5675 GB, free: 28.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.446, allocations: 88.52 kB / 0.5675 GB, free: 28.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-06/0.446, allocations: 0.8125 kB / 0.5675 GB, free: 28.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.446, allocations: 20.03 kB / 0.5676 GB, free: 28.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.499e-05/0.4461, allocations: 315.2 kB / 0.5679 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.458e-05/0.4462, allocations: 8.359 kB / 0.5679 GB, free: 28.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.4462, allocations: 5.078 kB / 0.5679 GB, free: 28.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.106e-05/0.4463, allocations: 15.55 kB / 0.5679 GB, free: 28.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.4463, allocations: 4.562 kB / 0.5679 GB, free: 28.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001678/0.4464, allocations: 58.39 kB / 0.568 GB, free: 28.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4465, allocations: 6.594 kB / 0.568 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.033e-05/0.4465, allocations: 8 kB / 0.568 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4465, allocations: 0.6562 kB / 0.568 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.4465, allocations: 3.062 kB / 0.568 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4466, allocations: 0 / 0.568 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.787e-05/0.4466, allocations: 9.578 kB / 0.568 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.4466, allocations: 1.25 kB / 0.568 GB, free: 28.34 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.399e-05/0.4467, allocations: 184.4 kB / 0.5682 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.4468, allocations: 114.5 kB / 0.5683 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.4468, allocations: 116.2 kB / 0.5684 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.351e-05/0.4469, allocations: 179.2 kB / 0.5686 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-05/0.4469, allocations: 182.3 kB / 0.5687 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.42e-05/0.447, allocations: 178 kB / 0.5689 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.4472, allocations: 415 kB / 0.5693 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-05/0.4472, allocations: 118.3 kB / 0.5694 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.827e-05/0.4472, allocations: 103.7 kB / 0.5695 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.408e-05/0.4473, allocations: 182.6 kB / 0.5697 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.4473, allocations: 179.9 kB / 0.5698 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.55e-05/0.4474, allocations: 181.9 kB / 0.57 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.81e-05/0.4474, allocations: 182 kB / 0.5702 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.684e-05/0.4475, allocations: 305.4 kB / 0.5705 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.4476, allocations: 195 kB / 0.5707 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.4476, allocations: 181.8 kB / 0.5708 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.458e-05/0.4477, allocations: 102 kB / 0.5709 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.4478, allocations: 181.1 kB / 0.5711 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.4478, allocations: 106.6 kB / 0.5712 GB, free: 24.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.264e-05/0.4479, allocations: 104 kB / 0.5713 GB, free: 24.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4479, allocations: 0 / 0.5713 GB, free: 24.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001604/0.4495, allocations: 285.4 kB / 0.5716 GB, free: 24.73 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.002154/0.4517, allocations: 0.5357 MB / 0.5721 GB, free: 24.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.4518, allocations: 40.42 kB / 0.5722 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.4519, allocations: 0 / 0.5722 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.497e-06/0.4519, allocations: 2.406 kB / 0.5722 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.4524, allocations: 0.5342 MB / 0.5727 GB, free: 23.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004329/0.4528, allocations: 275.6 kB / 0.5729 GB, free: 23.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.453, allocations: 0.6857 MB / 0.5736 GB, free: 22.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.997e-05/0.453, allocations: 9.906 kB / 0.5736 GB, free: 22.95 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.453, allocations: 0 / 0.5736 GB, free: 22.95 MB / 446.1 MB Notification: Performance of Templates: time 0.01721/0.4702, allocations: 4.758 MB / 0.5783 GB, free: 22.49 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)