Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002589/0.002594, allocations: 359.9 kB / 16.59 MB, free: 5.562 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.466/1.466, allocations: 165.8 MB / 183.1 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 4.216/4.216, allocations: 410.8 MB / 0.6001 GB, free: 15.09 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.001781/0.001781, allocations: 198.7 kB / 0.6668 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004676, allocations: 12 kB / 0.7429 GB, free: 8.895 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4984/0.4989, allocations: 67.43 MB / 0.8088 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00228/0.5013, allocations: 1.131 MB / 0.8099 GB, free: 27.65 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007522/0.5089, allocations: 2.723 MB / 0.8126 GB, free: 24.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.75e-05/0.509, allocations: 0 / 0.8126 GB, free: 24.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.5091, allocations: 7.984 kB / 0.8126 GB, free: 24.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.5092, allocations: 11.86 kB / 0.8126 GB, free: 24.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008064/0.5173, allocations: 1.32 MB / 0.8139 GB, free: 23.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.5174, allocations: 35.75 kB / 0.8139 GB, free: 23.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.885e-05/0.5175, allocations: 6.109 kB / 0.8139 GB, free: 23.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.625e-05/0.5176, allocations: 15.92 kB / 0.8139 GB, free: 23.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.858e-05/0.5177, allocations: 11.94 kB / 0.8139 GB, free: 23.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.5177, allocations: 0 / 0.8139 GB, free: 23.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003976/0.5217, allocations: 1.267 MB / 0.8152 GB, free: 22.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.5218, allocations: 11.92 kB / 0.8152 GB, free: 22.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.5218, allocations: 29.7 kB / 0.8152 GB, free: 22.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.5237, allocations: 0.7214 MB / 0.8159 GB, free: 21.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.5237, allocations: 0 / 0.8159 GB, free: 21.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.5238, allocations: 0 / 0.8159 GB, free: 21.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.5238, allocations: 0 / 0.8159 GB, free: 21.48 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008592/0.5247, allocations: 0.5066 MB / 0.8164 GB, free: 20.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.5247, allocations: 12.03 kB / 0.8164 GB, free: 20.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.608e-05/0.5248, allocations: 79.19 kB / 0.8165 GB, free: 20.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.525, allocations: 262.2 kB / 0.8168 GB, free: 20.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.282e-05/0.525, allocations: 158.5 kB / 0.8169 GB, free: 20.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.5251, allocations: 150.6 kB / 0.817 GB, free: 20.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.015e-05/0.5252, allocations: 101 kB / 0.8171 GB, free: 20.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.5252, allocations: 79.28 kB / 0.8172 GB, free: 20.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.5253, allocations: 150.6 kB / 0.8174 GB, free: 19.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.99e-05/0.5253, allocations: 150.6 kB / 0.8175 GB, free: 19.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.773e-05/0.5254, allocations: 158.6 kB / 0.8177 GB, free: 19.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.5257, allocations: 473.7 kB / 0.8181 GB, free: 19.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.758e-05/0.5258, allocations: 173.1 kB / 0.8183 GB, free: 18.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.746e-05/0.5259, allocations: 80.14 kB / 0.8184 GB, free: 18.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.5259, allocations: 75.28 kB / 0.8184 GB, free: 18.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.526, allocations: 109.8 kB / 0.8185 GB, free: 18.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.595e-06/0.526, allocations: 0 / 0.8185 GB, free: 18.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001054/0.5261, allocations: 33.64 kB / 0.8186 GB, free: 18.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.5261, allocations: 55.41 kB / 0.8186 GB, free: 18.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.5263, allocations: 137.2 kB / 0.8187 GB, free: 18.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.5264, allocations: 25.7 kB / 0.8188 GB, free: 18.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.5264, allocations: 92.14 kB / 0.8189 GB, free: 18.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.5265, allocations: 0 / 0.8189 GB, free: 18.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-06/0.5265, allocations: 0 / 0.8189 GB, free: 18.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.437e-05/0.5266, allocations: 318.8 kB / 0.8192 GB, free: 17.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.134e-05/0.5266, allocations: 4 kB / 0.8192 GB, free: 17.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.365e-05/0.5267, allocations: 8 kB / 0.8192 GB, free: 17.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.136e-05/0.5268, allocations: 12 kB / 0.8192 GB, free: 17.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.5268, allocations: 0 / 0.8192 GB, free: 17.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001969/0.527, allocations: 57.48 kB / 0.8192 GB, free: 17.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.527, allocations: 4 kB / 0.8192 GB, free: 17.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.028e-05/0.5271, allocations: 7.938 kB / 0.8193 GB, free: 17.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.5271, allocations: 0 / 0.8193 GB, free: 17.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.328e-06/0.5271, allocations: 7.984 kB / 0.8193 GB, free: 17.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.5272, allocations: 0 / 0.8193 GB, free: 17.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.089e-05/0.5272, allocations: 0 / 0.8193 GB, free: 17.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.5272, allocations: 4.062 kB / 0.8193 GB, free: 17.84 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 (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 9.887e-05/0.5274, allocations: 190.4 kB / 0.8194 GB, free: 17.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.616e-05/0.5275, allocations: 112.8 kB / 0.8196 GB, free: 17.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.031e-05/0.5275, allocations: 116.8 kB / 0.8197 GB, free: 17.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-05/0.5276, allocations: 176.3 kB / 0.8198 GB, free: 17.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.814e-05/0.5276, allocations: 101 kB / 0.8199 GB, free: 17.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.5277, allocations: 194 kB / 0.8201 GB, free: 16.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.577e-05/0.5278, allocations: 176.3 kB / 0.8203 GB, free: 16.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.528, allocations: 101 kB / 0.8204 GB, free: 16.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.528, allocations: 188.2 kB / 0.8206 GB, free: 16.43 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.119e-05/0.5281, allocations: 251.5 kB / 0.8208 GB, free: 16.17 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001365/0.5283, allocations: 394.9 kB / 0.8212 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.906e-05/0.5283, allocations: 112.9 kB / 0.8213 GB, free: 15.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.338e-05/0.5284, allocations: 95.27 kB / 0.8214 GB, free: 15.55 MB / 378.7 MB Notification: Performance of Backend: time 1.172e-06/0.5284, allocations: 0 / 0.8214 GB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002923/0.5314, allocations: 0.5064 MB / 0.8219 GB, free: 15.04 MB / 378.7 MB Notification: Performance of SimCode: time 0.0006741/0.5321, allocations: 1.01 MB / 0.8229 GB, free: 13.98 MB / 378.7 MB Notification: Performance of Templates: time 0.02131/0.5534, allocations: 6.5 MB / 0.8292 GB, free: 7.52 MB / 378.7 MB