Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.581/4.581, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002422/0.002422, allocations: 356 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.829/3.829, allocations: 410.7 MB / 1.112 GB, free: 6.004 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001788/0.001787, allocations: 171 kB / 1.225 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004776, allocations: 15.98 kB / 1.348 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5642/0.5647, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001282/0.566, allocations: 1.152 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003793/0.5698, allocations: 2.723 MB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/0.5699, allocations: 0 / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.5699, allocations: 4.688 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.26e-05/0.57, allocations: 17.25 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.003383/0.5734, allocations: 1.322 MB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.111e-05/0.5734, allocations: 47.39 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.5735, allocations: 6.109 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.167e-05/0.5735, allocations: 11.94 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.532e-05/0.5735, allocations: 19.92 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.459e-06/0.5736, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.5753, allocations: 1.263 MB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.292e-06/0.5754, allocations: 0 / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.133e-05/0.5754, allocations: 33.64 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009043/0.5763, allocations: 0.7145 MB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.5763, allocations: 0 / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.835e-06/0.5763, allocations: 3.938 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.5764, allocations: 1 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB 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.0004428/0.5768, allocations: 0.5111 MB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.5769, allocations: 8.031 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.5769, allocations: 88.92 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.938e-05/0.577, allocations: 247.5 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.5771, allocations: 153.2 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.5771, allocations: 154.5 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.109e-05/0.5772, allocations: 112.9 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.5772, allocations: 75.28 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.5772, allocations: 155.2 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.5773, allocations: 155.7 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.54e-05/0.5773, allocations: 155.2 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002113/0.5775, allocations: 463.2 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.545e-05/0.5776, allocations: 169.9 kB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.864e-05/0.5776, allocations: 81.55 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.5776, allocations: 75.78 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.5777, allocations: 109.6 kB / 1.471 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.688e-06/0.5777, allocations: 0 / 1.471 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 7.155e-05/0.5777, allocations: 33.61 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.5778, allocations: 134.6 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.5779, allocations: 141.9 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.483e-06/0.5779, allocations: 25.7 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.334e-05/0.578, allocations: 92.92 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-06/0.578, allocations: 0 / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-06/0.578, allocations: 0.9688 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.107e-05/0.5781, allocations: 322.8 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.598e-05/0.5781, allocations: 6.312 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.861e-05/0.5781, allocations: 4 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.979e-05/0.5782, allocations: 12.06 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.008e-06/0.5782, allocations: 0 / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001287/0.5783, allocations: 41.7 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.5783, allocations: 8 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.5784, allocations: 4.922 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.5784, allocations: 4 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.549e-06/0.5784, allocations: 2.859 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.983e-06/0.5784, allocations: 0 / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.948e-05/0.5784, allocations: 7.844 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.03e-06/0.5785, allocations: 3.953 kB / 1.471 GB, free: 273.4 MB / 0.8542 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 6.232e-05/0.5785, allocations: 194 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.5786, allocations: 112.9 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.5786, allocations: 108.8 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.907e-05/0.5787, allocations: 181.4 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.068e-05/0.5787, allocations: 184.2 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.673e-05/0.5787, allocations: 181.3 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.5789, allocations: 419.4 kB / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/0.579, allocations: 105 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.609e-05/0.579, allocations: 104.9 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.861e-05/0.579, allocations: 176.8 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.5791, allocations: 181.5 kB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.917e-05/0.5791, allocations: 188.3 kB / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.902e-05/0.5791, allocations: 181.1 kB / 1.474 GB, free: 271 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.238e-05/0.5792, allocations: 305.9 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.5793, allocations: 193.9 kB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.5793, allocations: 182.7 kB / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.764e-05/0.5794, allocations: 101.5 kB / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.5794, allocations: 185.1 kB / 1.474 GB, free: 270 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.5795, allocations: 103.1 kB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.981e-05/0.5795, allocations: 103 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.59e-07/0.5795, allocations: 0 / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007223/0.5803, allocations: 279.8 kB / 1.475 GB, free: 269.5 MB / 0.8542 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 (0): * Single equations (assignments): 0 * 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.001058/0.5813, allocations: 0.5249 MB / 1.475 GB, free: 269 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.87e-05/0.5815, allocations: 41.64 kB / 1.475 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.631e-06/0.5815, allocations: 0 / 1.475 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.736e-06/0.5815, allocations: 4 kB / 1.476 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.5819, allocations: 0.5286 MB / 1.476 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.5821, allocations: 258 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.5823, allocations: 0.6848 MB / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.344e-05/0.5823, allocations: 1.312 kB / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.525e-06/0.5823, allocations: 11.44 kB / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.346e-06/0.5823, allocations: 0 / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.01085/0.5932, allocations: 5.717 MB / 1.483 GB, free: 262 MB / 0.8542 GB