Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001191/0.001191, allocations: 188.9 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.1 MB / 222.1 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.497/1.497, allocations: 251.6 MB / 0.5089 GB, free: 3.273 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 67.91 kB / 0.6218 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4619/0.4634, allocations: 104.7 MB / 0.724 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002448/0.4659, allocations: 1.532 MB / 0.7255 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.4671, allocations: 0.9548 MB / 0.7264 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.441e-05/0.4672, allocations: 3.938 kB / 0.7264 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.4674, allocations: 39.83 kB / 0.7265 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.905e-05/0.4675, allocations: 19.84 kB / 0.7265 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.4679, allocations: 174.9 kB / 0.7267 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.468, allocations: 51.67 kB / 0.7267 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.198e-05/0.468, allocations: 8 kB / 0.7267 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.293e-05/0.4681, allocations: 19.86 kB / 0.7267 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.19e-05/0.4681, allocations: 19.86 kB / 0.7268 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.607e-06/0.4681, allocations: 0 / 0.7268 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/0.4684, allocations: 143.8 kB / 0.7269 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.4684, allocations: 7.969 kB / 0.7269 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.4684, allocations: 19.88 kB / 0.7269 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.4686, allocations: 125.6 kB / 0.727 GB, free: 9.938 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4686, allocations: 0 / 0.727 GB, free: 9.938 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.153e-06/0.4686, allocations: 4 kB / 0.727 GB, free: 9.934 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.4686, allocations: 0 / 0.727 GB, free: 9.934 MB / 0.545 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.0003017/0.4689, allocations: 375.1 kB / 0.7274 GB, free: 9.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.469, allocations: 12.03 kB / 0.7274 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.469, allocations: 80.12 kB / 0.7275 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.4692, allocations: 263.4 kB / 0.7277 GB, free: 9.133 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.566e-05/0.4693, allocations: 150.9 kB / 0.7279 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.4693, allocations: 162.9 kB / 0.728 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.117e-05/0.4694, allocations: 105.3 kB / 0.7281 GB, free: 8.715 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.4694, allocations: 75.28 kB / 0.7282 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.425e-05/0.4694, allocations: 154.6 kB / 0.7284 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/0.4695, allocations: 150.6 kB / 0.7285 GB, free: 8.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.719e-05/0.4695, allocations: 154.5 kB / 0.7286 GB, free: 8.188 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.4698, allocations: 465.9 kB / 0.7291 GB, free: 7.684 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.645e-05/0.4699, allocations: 169.1 kB / 0.7293 GB, free: 7.508 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/0.4699, allocations: 84.14 kB / 0.7293 GB, free: 7.422 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.4699, allocations: 75.28 kB / 0.7294 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.47, allocations: 117.7 kB / 0.7295 GB, free: 7.223 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.47, allocations: 0 / 0.7295 GB, free: 7.223 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 6.69e-05/0.47, allocations: 33.61 kB / 0.7295 GB, free: 7.184 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.4701, allocations: 126.7 kB / 0.7297 GB, free: 7.047 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.4702, allocations: 131.7 kB / 0.7298 GB, free: 6.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.4702, allocations: 25.7 kB / 0.7298 GB, free: 6.879 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.4703, allocations: 92.12 kB / 0.7299 GB, free: 6.785 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.4703, allocations: 4 kB / 0.7299 GB, free: 6.781 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.4703, allocations: 17.72 kB / 0.7299 GB, free: 6.758 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.4704, allocations: 326.8 kB / 0.7302 GB, free: 6.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.4704, allocations: 0 / 0.7302 GB, free: 6.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.352e-05/0.4705, allocations: 4 kB / 0.7302 GB, free: 6.426 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.299e-05/0.4705, allocations: 16.8 kB / 0.7303 GB, free: 6.406 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.4705, allocations: 0 / 0.7303 GB, free: 6.406 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001042/0.4706, allocations: 53.53 kB / 0.7303 GB, free: 6.348 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.4706, allocations: 8 kB / 0.7303 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.4707, allocations: 4.109 kB / 0.7303 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.4707, allocations: 3.984 kB / 0.7303 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.4707, allocations: 0 / 0.7303 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.4707, allocations: 0 / 0.7303 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.4707, allocations: 4 kB / 0.7303 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.4707, allocations: 0 / 0.7303 GB, free: 6.328 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.13e-05/0.4708, allocations: 181.1 kB / 0.7305 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/0.4709, allocations: 120.8 kB / 0.7306 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.572e-05/0.4709, allocations: 116.9 kB / 0.7307 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.392e-05/0.471, allocations: 176.3 kB / 0.7309 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-05/0.471, allocations: 180.2 kB / 0.7311 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-05/0.4711, allocations: 176.3 kB / 0.7312 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.4713, allocations: 425.2 kB / 0.7316 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.537e-05/0.4713, allocations: 105 kB / 0.7317 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.4713, allocations: 108.9 kB / 0.7318 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.672e-05/0.4714, allocations: 184.2 kB / 0.732 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.724e-05/0.4715, allocations: 180.2 kB / 0.7322 GB, free: 4.281 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.935e-05/0.4715, allocations: 180.4 kB / 0.7324 GB, free: 4.098 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-05/0.4716, allocations: 184.3 kB / 0.7325 GB, free: 3.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.4717, allocations: 311.7 kB / 0.7328 GB, free: 3.582 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/0.4718, allocations: 189.9 kB / 0.733 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.4719, allocations: 188.2 kB / 0.7332 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.4719, allocations: 105 kB / 0.7333 GB, free: 3.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.472, allocations: 184.2 kB / 0.7335 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.472, allocations: 101 kB / 0.7336 GB, free: 2.777 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.763e-05/0.4721, allocations: 109.3 kB / 0.7337 GB, free: 2.672 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4721, allocations: 0 / 0.7337 GB, free: 2.672 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000256/0.4724, allocations: 31.94 kB / 0.7337 GB, free: 2.641 MB / 0.545 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 (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.0002477/0.4726, allocations: 218.4 kB / 0.7339 GB, free: 2.418 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.959e-05/0.4727, allocations: 37.7 kB / 0.734 GB, free: 2.375 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4727, allocations: 4.062 kB / 0.734 GB, free: 2.371 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.4727, allocations: 3.938 kB / 0.734 GB, free: 2.367 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.4731, allocations: 460.3 kB / 0.7344 GB, free: 1.914 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.4734, allocations: 246.9 kB / 0.7346 GB, free: 1.648 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.4736, allocations: 0.6807 MB / 0.7353 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.967e-05/0.4737, allocations: 3.984 kB / 0.7353 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.29e-05/0.4737, allocations: 11.44 kB / 0.7353 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.4737, allocations: 0 / 0.7353 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of Templates: time 0.003324/0.477, allocations: 1.514 MB / 0.7368 GB, free: 15.45 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)