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.001014/0.001014, allocations: 88.78 kB / 16.67 MB, free: 6.594 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.00109/0.00109, allocations: 182.7 kB / 17.58 MB, free: 6.188 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.383/1.383, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.728/0.728, allocations: 115.5 MB / 408.2 MB, free: 7.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003888, allocations: 12 kB / 496.6 MB, free: 15.63 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.444/0.4444, allocations: 77.52 MB / 0.5606 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001457/0.4459, allocations: 1.158 MB / 0.5618 GB, free: 34.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004263/0.4502, allocations: 2.936 MB / 0.5646 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.42e-05/0.4503, allocations: 0 / 0.5646 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.219e-05/0.4503, allocations: 5.812 kB / 0.5646 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.934e-05/0.4504, allocations: 16.94 kB / 0.5647 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003486/0.4539, allocations: 1.385 MB / 0.566 GB, free: 31.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.31e-05/0.454, allocations: 44.39 kB / 0.5661 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.127e-05/0.454, allocations: 6.984 kB / 0.5661 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.22e-05/0.454, allocations: 16.41 kB / 0.5661 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.88e-05/0.4541, allocations: 19.73 kB / 0.5661 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.4541, allocations: 0 / 0.5661 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.4565, allocations: 1.462 MB / 0.5675 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.4565, allocations: 11.41 kB / 0.5675 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.4566, allocations: 46.42 kB / 0.5676 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.4578, allocations: 0.7875 MB / 0.5683 GB, free: 31.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4578, allocations: 0 / 0.5683 GB, free: 31.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4579, allocations: 0.6094 kB / 0.5683 GB, free: 31.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.4579, allocations: 1.562 kB / 0.5683 GB, free: 31.21 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.0005691/0.4584, allocations: 0.5125 MB / 0.5688 GB, free: 30.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.4585, allocations: 13.69 kB / 0.5689 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.4585, allocations: 84.53 kB / 0.5689 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.4587, allocations: 259.8 kB / 0.5692 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.4587, allocations: 152 kB / 0.5693 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.4587, allocations: 152.6 kB / 0.5695 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.462e-05/0.4588, allocations: 106.9 kB / 0.5696 GB, free: 29.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.4588, allocations: 78.38 kB / 0.5697 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.4588, allocations: 154.5 kB / 0.5698 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.4589, allocations: 151.8 kB / 0.5699 GB, free: 29.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.767e-05/0.4589, allocations: 155.5 kB / 0.5701 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002153/0.4591, allocations: 467.5 kB / 0.5705 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.544e-05/0.4592, allocations: 167.5 kB / 0.5707 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.841e-05/0.4592, allocations: 81.89 kB / 0.5708 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.4592, allocations: 76.08 kB / 0.5709 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.4592, allocations: 111.9 kB / 0.571 GB, free: 28.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.4593, allocations: 1 kB / 0.571 GB, free: 28.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.013e-05/0.4593, allocations: 37.19 kB / 0.571 GB, free: 28.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.4594, allocations: 129.2 kB / 0.5711 GB, free: 28.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.4595, allocations: 135.4 kB / 0.5712 GB, free: 28.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.4595, allocations: 25.7 kB / 0.5713 GB, free: 28.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.4596, allocations: 93.36 kB / 0.5714 GB, free: 28.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.4596, allocations: 1.188 kB / 0.5714 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.4596, allocations: 12.83 kB / 0.5714 GB, free: 28.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.424e-05/0.4597, allocations: 318 kB / 0.5717 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/0.4597, allocations: 5.094 kB / 0.5717 GB, free: 27.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.46e-05/0.4597, allocations: 7.656 kB / 0.5717 GB, free: 27.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.669e-05/0.4597, allocations: 16.36 kB / 0.5717 GB, free: 27.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4597, allocations: 1.031 kB / 0.5717 GB, free: 27.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001217/0.4599, allocations: 61.94 kB / 0.5718 GB, free: 27.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.4599, allocations: 6.5 kB / 0.5718 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.4599, allocations: 3.969 kB / 0.5718 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.4599, allocations: 1.516 kB / 0.5718 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.4599, allocations: 0 / 0.5718 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.46, allocations: 7.078 kB / 0.5718 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.089e-05/0.46, allocations: 7.875 kB / 0.5718 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.46, allocations: 5 kB / 0.5718 GB, free: 27.68 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 6.104e-05/0.4601, allocations: 186.1 kB / 0.572 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.4601, allocations: 113.4 kB / 0.5721 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.4601, allocations: 112 kB / 0.5722 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.698e-05/0.4602, allocations: 180 kB / 0.5724 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.74e-05/0.4602, allocations: 186 kB / 0.5725 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-05/0.4602, allocations: 178.5 kB / 0.5727 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.4604, allocations: 410.5 kB / 0.5731 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/0.4604, allocations: 110.8 kB / 0.5732 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.648e-05/0.4605, allocations: 111.3 kB / 0.5733 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.738e-05/0.4605, allocations: 187 kB / 0.5735 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.4605, allocations: 179.2 kB / 0.5737 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.48e-05/0.4605, allocations: 182.2 kB / 0.5738 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-05/0.4606, allocations: 181.1 kB / 0.574 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.976e-05/0.4607, allocations: 310.5 kB / 0.5743 GB, free: 24.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.4607, allocations: 188.9 kB / 0.5745 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.4607, allocations: 182.6 kB / 0.5747 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.303e-05/0.4608, allocations: 103.8 kB / 0.5748 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.4609, allocations: 180.9 kB / 0.5749 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.4609, allocations: 110.1 kB / 0.575 GB, free: 24.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.805e-05/0.4609, allocations: 97.48 kB / 0.5751 GB, free: 24.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4609, allocations: 2.062 kB / 0.5751 GB, free: 24.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008683/0.4618, allocations: 285.5 kB / 0.5754 GB, free: 24.06 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.001086/0.4629, allocations: 0.5298 MB / 0.5759 GB, free: 23.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.187e-05/0.463, allocations: 40.89 kB / 0.576 GB, free: 23.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.463, allocations: 0 / 0.576 GB, free: 23.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.714e-06/0.463, allocations: 1.281 kB / 0.576 GB, free: 23.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.4634, allocations: 0.5346 MB / 0.5765 GB, free: 23.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.4637, allocations: 284.8 kB / 0.5768 GB, free: 23.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.4638, allocations: 0.6823 MB / 0.5774 GB, free: 22.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.21e-05/0.4638, allocations: 14.94 kB / 0.5774 GB, free: 22.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4638, allocations: 0 / 0.5774 GB, free: 22.3 MB / 446.1 MB Notification: Performance of Templates: time 0.01084/0.4747, allocations: 4.75 MB / 0.5821 GB, free: 21.85 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)