Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002395/0.002395, allocations: 355.5 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.441/1.441, allocations: 165.8 MB / 182.5 MB, free: 5.438 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.665/3.665, allocations: 410.8 MB / 0.5995 GB, free: 15.1 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001747/0.001746, allocations: 196.9 kB / 0.6662 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004654, allocations: 16 kB / 0.7423 GB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3885, allocations: 67.44 MB / 0.8082 GB, free: 28.69 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005829/0.3944, allocations: 2.569 MB / 0.8107 GB, free: 26.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00567/0.4001, allocations: 1.99 MB / 0.8126 GB, free: 24.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.4004, allocations: 8 kB / 0.8126 GB, free: 24.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.4018, allocations: 422 kB / 0.813 GB, free: 23.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.4021, allocations: 127.1 kB / 0.8132 GB, free: 23.56 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001206/0.4023, allocations: 39.95 kB / 0.8132 GB, free: 23.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004954/0.4028, allocations: 424.9 kB / 0.8136 GB, free: 23.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.403, allocations: 118.9 kB / 0.8137 GB, free: 22.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.4032, allocations: 135.4 kB / 0.8139 GB, free: 22.85 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.4034, allocations: 159.3 kB / 0.814 GB, free: 22.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.4034, allocations: 20 kB / 0.814 GB, free: 22.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.176e-05/0.4035, allocations: 16 kB / 0.814 GB, free: 22.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.512e-05/0.4036, allocations: 75.69 kB / 0.8141 GB, free: 22.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.695e-05/0.4037, allocations: 109.5 kB / 0.8142 GB, free: 22.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.4041, allocations: 446.7 kB / 0.8146 GB, free: 22.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.826e-06/0.4041, allocations: 0 / 0.8146 GB, free: 22.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.728e-06/0.4041, allocations: 0 / 0.8146 GB, free: 22.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.4041, allocations: 0 / 0.8146 GB, free: 22.04 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008641/0.405, allocations: 0.65 MB / 0.8153 GB, free: 21.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.405, allocations: 8.031 kB / 0.8153 GB, free: 21.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.095e-05/0.4051, allocations: 43.44 kB / 0.8153 GB, free: 21.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004739/0.4056, allocations: 361.1 kB / 0.8157 GB, free: 20.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.4057, allocations: 20.39 kB / 0.8157 GB, free: 20.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.4057, allocations: 19.91 kB / 0.8157 GB, free: 20.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004425/0.4062, allocations: 215.2 kB / 0.8159 GB, free: 20.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.4062, allocations: 0 / 0.8159 GB, free: 20.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.4062, allocations: 12 kB / 0.8159 GB, free: 20.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.4063, allocations: 4 kB / 0.8159 GB, free: 20.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004531/0.4067, allocations: 169.6 kB / 0.8161 GB, free: 20.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.4079, allocations: 0.878 MB / 0.817 GB, free: 19.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.4083, allocations: 158.5 kB / 0.8171 GB, free: 19.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/0.4086, allocations: 120.8 kB / 0.8172 GB, free: 19.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.4086, allocations: 4 kB / 0.8172 GB, free: 19.22 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.4086, allocations: 30.56 kB / 0.8173 GB, free: 19.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 2.557e-06/0.4087, allocations: 0 / 0.8173 GB, free: 19.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006931/0.4094, allocations: 272 kB / 0.8175 GB, free: 18.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.4094, allocations: 55.41 kB / 0.8176 GB, free: 18.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005155/0.4099, allocations: 417.7 kB / 0.818 GB, free: 18.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.41, allocations: 29.7 kB / 0.818 GB, free: 18.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.4101, allocations: 204.2 kB / 0.8182 GB, free: 18.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.585e-05/0.4102, allocations: 67.08 kB / 0.8182 GB, free: 18.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.4102, allocations: 4 kB / 0.8183 GB, free: 18.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.136e-05/0.4103, allocations: 350.8 kB / 0.8186 GB, free: 17.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.4105, allocations: 59.95 kB / 0.8186 GB, free: 17.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.4106, allocations: 62.2 kB / 0.8187 GB, free: 17.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.4108, allocations: 67.98 kB / 0.8188 GB, free: 17.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.255e-06/0.4109, allocations: 7.953 kB / 0.8188 GB, free: 17.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004663/0.4113, allocations: 211.9 kB / 0.819 GB, free: 17.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.4114, allocations: 15.89 kB / 0.819 GB, free: 17.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.718e-06/0.4114, allocations: 4 kB / 0.819 GB, free: 17.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4114, allocations: 0 / 0.819 GB, free: 17.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.4117, allocations: 55.97 kB / 0.819 GB, free: 17.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.585e-06/0.4117, allocations: 0 / 0.819 GB, free: 17.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.412, allocations: 23.83 kB / 0.8191 GB, free: 17.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.412, allocations: 12 kB / 0.8191 GB, free: 17.26 MB / 378.7 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001695/0.4122, allocations: 169.8 kB / 0.8192 GB, free: 17.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.281e-05/0.4123, allocations: 31.62 kB / 0.8193 GB, free: 17.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.04e-05/0.4123, allocations: 47.53 kB / 0.8193 GB, free: 17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.004e-06/0.4124, allocations: 4 kB / 0.8193 GB, free: 17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4124, allocations: 0 / 0.8193 GB, free: 17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4124, allocations: 0 / 0.8193 GB, free: 17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.4128, allocations: 373.3 kB / 0.8197 GB, free: 16.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.78e-06/0.4129, allocations: 0 / 0.8197 GB, free: 16.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/0.4132, allocations: 59.95 kB / 0.8197 GB, free: 16.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.599e-06/0.4132, allocations: 4 kB / 0.8197 GB, free: 16.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.4132, allocations: 7.938 kB / 0.8197 GB, free: 16.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.743e-06/0.4132, allocations: 3.953 kB / 0.8198 GB, free: 16.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.207e-06/0.4133, allocations: 0 / 0.8198 GB, free: 16.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007028/0.414, allocations: 394.3 kB / 0.8201 GB, free: 16.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.784e-05/0.4141, allocations: 116.6 kB / 0.8202 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.4142, allocations: 11.92 kB / 0.8203 GB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.4144, allocations: 19.95 kB / 0.8203 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.4145, allocations: 12.05 kB / 0.8203 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.4145, allocations: 4 kB / 0.8203 GB, free: 15.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003669/0.4149, allocations: 303.1 kB / 0.8206 GB, free: 15.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.68e-07/0.4149, allocations: 0 / 0.8206 GB, free: 15.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003985/0.4153, allocations: 71.84 kB / 0.8206 GB, free: 15.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001071/0.4154, allocations: 111.2 kB / 0.8207 GB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004243/0.4158, allocations: 151.9 kB / 0.8209 GB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.4159, allocations: 0 / 0.8209 GB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.4161, allocations: 79.91 kB / 0.821 GB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007038/0.4168, allocations: 93.42 kB / 0.8211 GB, free: 15.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.4182, allocations: 0.8956 MB / 0.8219 GB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.4185, allocations: 0.807 MB / 0.8227 GB, free: 13.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000161/0.4186, allocations: 34.97 kB / 0.8228 GB, free: 13.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.25e-05/0.4187, allocations: 23.44 kB / 0.8228 GB, free: 13.33 MB / 378.7 MB Notification: Performance of SimCode: time 1.689e-06/0.4187, allocations: 0 / 0.8228 GB, free: 13.33 MB / 378.7 MB Notification: Performance of Templates: time 0.009505/0.4282, allocations: 3.573 MB / 0.8263 GB, free: 9.855 MB / 378.7 MB