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.MultipoleThermalResistances_OneUTube.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.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 104.2 kB / 16.52 MB, free: 6.266 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.001363/0.001363, allocations: 197 kB / 17.44 MB, free: 5.887 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.41/1.41, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7912/0.7912, allocations: 115.3 MB / 406.6 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 59.91 kB / 493.6 MB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4514/0.453, allocations: 76.18 MB / 0.5564 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002686/0.4558, allocations: 1.425 MB / 0.5578 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002855/0.4586, allocations: 1.83 MB / 0.5596 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-05/0.4587, allocations: 1.062 kB / 0.5596 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.4588, allocations: 10.67 kB / 0.5596 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.459, allocations: 31.23 kB / 0.5597 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002609/0.4616, allocations: 1.047 MB / 0.5607 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.4618, allocations: 85.67 kB / 0.5608 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.4618, allocations: 2.156 kB / 0.5608 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.504e-05/0.4619, allocations: 21.45 kB / 0.5608 GB, free: 33.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.462, allocations: 29.8 kB / 0.5608 GB, free: 33.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.462, allocations: 1.906 kB / 0.5608 GB, free: 33.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.4635, allocations: 0.8387 MB / 0.5616 GB, free: 33.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.616e-05/0.4635, allocations: 34.55 kB / 0.5617 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.4636, allocations: 22.78 kB / 0.5617 GB, free: 33.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009234/0.4645, allocations: 0.5674 MB / 0.5622 GB, free: 33.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4645, allocations: 1.25 kB / 0.5622 GB, free: 33.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4645, allocations: 0 / 0.5622 GB, free: 33.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.4645, allocations: 0.5938 kB / 0.5622 GB, free: 33.03 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005777/0.4651, allocations: 485.8 kB / 0.5627 GB, free: 32.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.4652, allocations: 13.06 kB / 0.5627 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.4652, allocations: 13.92 kB / 0.5627 GB, free: 32.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.4654, allocations: 190.2 kB / 0.5629 GB, free: 32.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.4654, allocations: 2.062 kB / 0.5629 GB, free: 32.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.4654, allocations: 5.094 kB / 0.5629 GB, free: 32.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.4656, allocations: 53.84 kB / 0.563 GB, free: 32.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.4656, allocations: 0 / 0.563 GB, free: 32.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.4656, allocations: 1.438 kB / 0.563 GB, free: 32.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.4656, allocations: 0.75 kB / 0.563 GB, free: 32.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.757e-05/0.4657, allocations: 30.25 kB / 0.563 GB, free: 32.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.4659, allocations: 185.6 kB / 0.5632 GB, free: 32.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.667e-05/0.466, allocations: 55.09 kB / 0.5632 GB, free: 32.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.993e-05/0.466, allocations: 31.62 kB / 0.5633 GB, free: 32.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.466, allocations: 2.031 kB / 0.5633 GB, free: 32.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.4661, allocations: 32.17 kB / 0.5633 GB, free: 32.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.4661, allocations: 0.5938 kB / 0.5633 GB, free: 32.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002385/0.4663, allocations: 119.6 kB / 0.5634 GB, free: 31.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.4664, allocations: 53.56 kB / 0.5635 GB, free: 31.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.4665, allocations: 157.4 kB / 0.5636 GB, free: 31.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.4665, allocations: 25.7 kB / 0.5636 GB, free: 31.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.4666, allocations: 96.11 kB / 0.5637 GB, free: 31.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.4666, allocations: 29.34 kB / 0.5638 GB, free: 31.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.4666, allocations: 15.05 kB / 0.5638 GB, free: 31.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.35e-05/0.4667, allocations: 327.8 kB / 0.5641 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.724e-05/0.4668, allocations: 26.3 kB / 0.5641 GB, free: 31.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/0.4668, allocations: 25.17 kB / 0.5641 GB, free: 31.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.619e-05/0.4669, allocations: 65.09 kB / 0.5642 GB, free: 31.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4669, allocations: 0 / 0.5642 GB, free: 31.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001145/0.467, allocations: 105.2 kB / 0.5643 GB, free: 31.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.467, allocations: 6.031 kB / 0.5643 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.4671, allocations: 1.125 kB / 0.5643 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.4671, allocations: 1.375 kB / 0.5643 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.024e-06/0.4671, allocations: 1.734 kB / 0.5643 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.4671, allocations: 0 / 0.5643 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.236e-05/0.4671, allocations: 1.594 kB / 0.5643 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.4671, allocations: 5.812 kB / 0.5643 GB, free: 31.23 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 7.622e-05/0.4672, allocations: 126.3 kB / 0.5644 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.4672, allocations: 7.281 kB / 0.5644 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.4674, allocations: 111 kB / 0.5645 GB, free: 31.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.4674, allocations: 0 / 0.5645 GB, free: 31.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4674, allocations: 6.047 kB / 0.5645 GB, free: 31.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.4675, allocations: 1.938 kB / 0.5645 GB, free: 31.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.4676, allocations: 190.5 kB / 0.5647 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4676, allocations: 1.375 kB / 0.5647 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-06/0.4676, allocations: 2.172 kB / 0.5647 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.4676, allocations: 0 / 0.5647 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.4676, allocations: 1.062 kB / 0.5647 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4676, allocations: 1.188 kB / 0.5647 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4676, allocations: 1.891 kB / 0.5647 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.4678, allocations: 122.3 kB / 0.5649 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.4678, allocations: 84.41 kB / 0.5649 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.4678, allocations: 3.156 kB / 0.5649 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.208e-05/0.4679, allocations: 0 / 0.5649 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.478e-05/0.4679, allocations: 1.469 kB / 0.5649 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.4679, allocations: 1.469 kB / 0.5649 GB, free: 30.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.317e-05/0.468, allocations: 124.6 kB / 0.5651 GB, free: 30.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.468, allocations: 1.312 kB / 0.5651 GB, free: 30.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007031/0.4687, allocations: 208.5 kB / 0.5653 GB, free: 30.55 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 (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 Backend phase and start with SimCode phase: time 0.0008144/0.4695, allocations: 346.1 kB / 0.5656 GB, free: 30.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.4697, allocations: 92.78 kB / 0.5657 GB, free: 30.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4697, allocations: 1.156 kB / 0.5657 GB, free: 30.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.318e-05/0.4698, allocations: 68.92 kB / 0.5657 GB, free: 30.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.47, allocations: 11.78 kB / 0.5658 GB, free: 30.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.4704, allocations: 280.3 kB / 0.566 GB, free: 30.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.4706, allocations: 0.7043 MB / 0.5667 GB, free: 29.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.235e-05/0.4706, allocations: 8.656 kB / 0.5667 GB, free: 29.41 MB / 446.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4707, allocations: 3.938 kB / 0.5667 GB, free: 29.4 MB / 446.1 MB Notification: Performance of Templates: time 0.009764/0.4804, allocations: 3.981 MB / 0.5706 GB, free: 29.05 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)