Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 99.86 kB / 15.05 MB, free: 1.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.001043/0.001043, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.006/1.006, allocations: 143.3 MB / 434.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.000373, allocations: 12 kB / 0.5159 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.1999, allocations: 83.41 MB / 0.5973 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001729/0.2017, allocations: 1.074 MB / 0.5984 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002828/0.2045, allocations: 1.624 MB / 0.6 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.2046, allocations: 0 / 0.6 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.2048, allocations: 11.92 kB / 0.6 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.2049, allocations: 27.97 kB / 0.6 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002483/0.2074, allocations: 0.907 MB / 0.6009 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.767e-05/0.2075, allocations: 31.95 kB / 0.6009 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.401e-05/0.2076, allocations: 7.969 kB / 0.6009 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.849e-05/0.2077, allocations: 35.86 kB / 0.601 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.441e-05/0.2078, allocations: 23.92 kB / 0.601 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.2078, allocations: 0 / 0.601 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.209, allocations: 0.6318 MB / 0.6016 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.348e-05/0.2091, allocations: 75.75 kB / 0.6017 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/0.2091, allocations: 49.58 kB / 0.6017 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008737/0.21, allocations: 0.5461 MB / 0.6023 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.21, allocations: 0 / 0.6023 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.72e-07/0.21, allocations: 3.938 kB / 0.6023 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.974e-06/0.21, allocations: 4 kB / 0.6023 GB, free: 2.797 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007482/0.2108, allocations: 0.5683 MB / 0.6028 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2108, allocations: 12.03 kB / 0.6028 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.2109, allocations: 23.67 kB / 0.6029 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.2111, allocations: 217.7 kB / 0.6031 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.2111, allocations: 0 / 0.6031 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.2111, allocations: 3.938 kB / 0.6031 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.2113, allocations: 105.7 kB / 0.6032 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2113, allocations: 0 / 0.6032 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.2113, allocations: 0 / 0.6032 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2113, allocations: 3.938 kB / 0.6032 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.615e-05/0.2114, allocations: 75.92 kB / 0.6033 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.2117, allocations: 285.8 kB / 0.6035 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.2118, allocations: 114.6 kB / 0.6036 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.2119, allocations: 7.938 kB / 0.6036 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.2119, allocations: 38.58 kB / 0.6037 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.002e-06/0.2119, allocations: 0 / 0.6037 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0004504/0.2124, allocations: 418.9 kB / 0.6041 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.2124, allocations: 51.41 kB / 0.6041 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.2126, allocations: 260.9 kB / 0.6044 GB, free: 444 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.2127, allocations: 29.73 kB / 0.6044 GB, free: 408 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/0.2127, allocations: 132.7 kB / 0.6045 GB, free: 272 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.866e-05/0.2128, allocations: 98.45 kB / 0.6046 GB, free: 172 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.2128, allocations: 0 / 0.6046 GB, free: 172 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.3555/0.5684, allocations: 339.8 kB / 0.6049 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.5686, allocations: 70.41 kB / 0.605 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.998e-05/0.5687, allocations: 80.09 kB / 0.6051 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.5688, allocations: 100.8 kB / 0.6052 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5688, allocations: 0 / 0.6052 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003039/0.5691, allocations: 224.5 kB / 0.6054 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.5692, allocations: 6.688 kB / 0.6054 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.5692, allocations: 4 kB / 0.6054 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.5692, allocations: 0 / 0.6054 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/0.5692, allocations: 3.375 kB / 0.6054 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.5692, allocations: 0 / 0.6054 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.117e-05/0.5693, allocations: 11.97 kB / 0.6054 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.5693, allocations: 2.969 kB / 0.6054 GB, free: 40.66 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.5695, allocations: 163.6 kB / 0.6056 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.5695, allocations: 26.44 kB / 0.6056 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/0.5698, allocations: 249.3 kB / 0.6059 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.5698, allocations: 0 / 0.6059 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.5698, allocations: 0 / 0.6059 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.5698, allocations: 0.9844 kB / 0.6059 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.57, allocations: 287 kB / 0.6061 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.5701, allocations: 3.922 kB / 0.6061 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-06/0.5701, allocations: 2.531 kB / 0.6061 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.5701, allocations: 3.297 kB / 0.6061 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.5701, allocations: 0 / 0.6061 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.5701, allocations: 0.6875 kB / 0.6061 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.5701, allocations: 0 / 0.6061 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.5703, allocations: 261.3 kB / 0.6064 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.5704, allocations: 100 kB / 0.6065 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.5704, allocations: 0.9375 kB / 0.6065 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.706e-05/0.5705, allocations: 7.641 kB / 0.6065 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.956e-05/0.5705, allocations: 4.984 kB / 0.6065 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.5705, allocations: 0.5 kB / 0.6065 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001423/0.5706, allocations: 197.2 kB / 0.6067 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5706, allocations: 0 / 0.6067 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007004/0.5713, allocations: 199.5 kB / 0.6069 GB, free: 40.02 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006722/0.572, allocations: 329 kB / 0.6072 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002576/0.5723, allocations: 262.7 kB / 0.6074 GB, free: 39.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5723, allocations: 3.844 kB / 0.6074 GB, free: 39.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.5724, allocations: 181.9 kB / 0.6076 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.5727, allocations: 18.08 kB / 0.6076 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006228/0.5733, allocations: 0.5508 MB / 0.6082 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.5735, allocations: 0.7717 MB / 0.6089 GB, free: 38.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.446e-05/0.5735, allocations: 0.6562 kB / 0.6089 GB, free: 38.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.428e-05/0.5736, allocations: 10.62 kB / 0.6089 GB, free: 38.9 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.5736, allocations: 3.531 kB / 0.6089 GB, free: 38.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.008327/0.5819, allocations: 4.533 MB / 0.6134 GB, free: 38.61 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) Environment - environmentSimulation: