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.001479/0.001479, allocations: 103.9 kB / 16.94 MB, free: 6.191 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.001494/0.001494, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.425/1.425, allocations: 222.9 MB / 241.6 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.7683/0.7683, allocations: 122.9 MB / 414.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001675, allocations: 63.91 kB / 0.4918 GB, free: 7.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4976/0.4993, allocations: 77.93 MB / 0.5679 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.003176/0.5026, allocations: 1.356 MB / 0.5692 GB, free: 31.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003215/0.5058, allocations: 1.788 MB / 0.571 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.184e-05/0.5059, allocations: 0 / 0.571 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.5062, allocations: 9.891 kB / 0.571 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.5063, allocations: 25.27 kB / 0.571 GB, free: 30.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003279/0.5096, allocations: 1.132 MB / 0.5721 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.5098, allocations: 44.8 kB / 0.5722 GB, free: 29.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.272e-05/0.5098, allocations: 8.516 kB / 0.5722 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.51, allocations: 26.84 kB / 0.5722 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.279e-05/0.5101, allocations: 22.66 kB / 0.5722 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.5101, allocations: 5.562 kB / 0.5722 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.5119, allocations: 0.8541 MB / 0.573 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.959e-05/0.512, allocations: 25.77 kB / 0.5731 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.177e-05/0.5121, allocations: 25.12 kB / 0.5731 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.5139, allocations: 0.8002 MB / 0.5739 GB, free: 29.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.5139, allocations: 1.641 kB / 0.5739 GB, free: 29.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.514, allocations: 0 / 0.5739 GB, free: 29.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.514, allocations: 3.281 kB / 0.5739 GB, free: 29.36 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.0007475/0.5147, allocations: 474.7 kB / 0.5743 GB, free: 28.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.5148, allocations: 11.58 kB / 0.5743 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.5148, allocations: 8.125 kB / 0.5744 GB, free: 28.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.515, allocations: 193.8 kB / 0.5745 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.515, allocations: 1.688 kB / 0.5745 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.5151, allocations: 4.5 kB / 0.5745 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.5152, allocations: 57.69 kB / 0.5746 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.5152, allocations: 0.8125 kB / 0.5746 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.5152, allocations: 1.125 kB / 0.5746 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.5152, allocations: 0.5 kB / 0.5746 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.915e-05/0.5153, allocations: 25.34 kB / 0.5746 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002402/0.5155, allocations: 191.5 kB / 0.5748 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.575e-05/0.5156, allocations: 46.31 kB / 0.5749 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/0.5157, allocations: 35.88 kB / 0.5749 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.5157, allocations: 6.594 kB / 0.5749 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.5158, allocations: 32.09 kB / 0.5749 GB, free: 28.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.5158, allocations: 0.875 kB / 0.5749 GB, free: 28.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002605/0.516, allocations: 119.6 kB / 0.575 GB, free: 28.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.5161, allocations: 52.19 kB / 0.5751 GB, free: 28.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.5163, allocations: 152.3 kB / 0.5752 GB, free: 28.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.5163, allocations: 27.48 kB / 0.5753 GB, free: 28.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.5163, allocations: 98.83 kB / 0.5754 GB, free: 28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.5164, allocations: 25.89 kB / 0.5754 GB, free: 27.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.5164, allocations: 19.44 kB / 0.5754 GB, free: 27.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.884e-05/0.5165, allocations: 330.7 kB / 0.5757 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.359e-05/0.5166, allocations: 26.31 kB / 0.5757 GB, free: 27.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.667e-05/0.5166, allocations: 24.8 kB / 0.5758 GB, free: 27.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.5167, allocations: 64.84 kB / 0.5758 GB, free: 27.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5167, allocations: 6.578 kB / 0.5758 GB, free: 27.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001459/0.5169, allocations: 86.5 kB / 0.5759 GB, free: 27.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.5169, allocations: 6.375 kB / 0.5759 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.5169, allocations: 7.469 kB / 0.5759 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.517, allocations: 1.188 kB / 0.5759 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.517, allocations: 0 / 0.5759 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.517, allocations: 0.6094 kB / 0.5759 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.424e-05/0.517, allocations: 1.375 kB / 0.5759 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.517, allocations: 5.672 kB / 0.5759 GB, free: 27.56 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.985e-05/0.5171, allocations: 127.7 kB / 0.5761 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.5171, allocations: 20.92 kB / 0.5761 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.5174, allocations: 108.5 kB / 0.5762 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5174, allocations: 1.094 kB / 0.5762 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5174, allocations: 1.219 kB / 0.5762 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.5174, allocations: 0.625 kB / 0.5762 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.5175, allocations: 190.6 kB / 0.5764 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.5176, allocations: 2.953 kB / 0.5764 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-07/0.5176, allocations: 0 / 0.5764 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.5176, allocations: 3.781 kB / 0.5764 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.5176, allocations: 0 / 0.5764 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5176, allocations: 1.406 kB / 0.5764 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5176, allocations: 0 / 0.5764 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.5177, allocations: 128.6 kB / 0.5765 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.5178, allocations: 89.23 kB / 0.5766 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.5178, allocations: 0.5156 kB / 0.5766 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.302e-05/0.5178, allocations: 0.7031 kB / 0.5766 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.5179, allocations: 1.375 kB / 0.5766 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.5179, allocations: 2.953 kB / 0.5766 GB, free: 26.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.518, allocations: 123.9 kB / 0.5767 GB, free: 26.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.518, allocations: 0 / 0.5767 GB, free: 26.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001044/0.519, allocations: 208.2 kB / 0.5769 GB, free: 26.86 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.0008822/0.5199, allocations: 336.9 kB / 0.5772 GB, free: 26.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.5201, allocations: 94 kB / 0.5773 GB, free: 26.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5201, allocations: 0 / 0.5773 GB, free: 26.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.745e-05/0.5202, allocations: 75.62 kB / 0.5774 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.5204, allocations: 13.61 kB / 0.5774 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.5209, allocations: 251.8 kB / 0.5776 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.5212, allocations: 0.7032 MB / 0.5783 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.5212, allocations: 9.938 kB / 0.5783 GB, free: 25.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5212, allocations: 1.594 kB / 0.5783 GB, free: 25.75 MB / 446.1 MB Notification: Performance of Templates: time 0.009878/0.5311, allocations: 3.989 MB / 0.5822 GB, free: 24.29 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)