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.0008308/0.0008309, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008272/0.0008272, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.576/1.576, allocations: 252 MB / 0.5102 GB, free: 4.809 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.0005258/0.0005259, allocations: 15.98 kB / 0.6243 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4781/0.4786, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001583/0.4803, allocations: 1.181 MB / 0.7293 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.4815, allocations: 0.8737 MB / 0.7301 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.588e-05/0.4816, allocations: 4 kB / 0.7302 GB, free: 9.328 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.4818, allocations: 43.77 kB / 0.7302 GB, free: 9.285 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.521e-05/0.4818, allocations: 11.92 kB / 0.7302 GB, free: 9.273 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.4823, allocations: 173.6 kB / 0.7304 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.651e-05/0.4824, allocations: 43.69 kB / 0.7304 GB, free: 9.066 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.899e-05/0.4824, allocations: 7.984 kB / 0.7304 GB, free: 9.059 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.187e-05/0.4825, allocations: 15.94 kB / 0.7304 GB, free: 9.043 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.131e-05/0.4826, allocations: 11.94 kB / 0.7304 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.4826, allocations: 0 / 0.7304 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.4829, allocations: 143.8 kB / 0.7306 GB, free: 8.891 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.4829, allocations: 7.984 kB / 0.7306 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.4829, allocations: 33.64 kB / 0.7306 GB, free: 8.844 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.4831, allocations: 85.77 kB / 0.7307 GB, free: 8.762 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4831, allocations: 0 / 0.7307 GB, free: 8.762 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.963e-06/0.4831, allocations: 0 / 0.7307 GB, free: 8.762 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.4831, allocations: 4 kB / 0.7307 GB, free: 8.758 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.000329/0.4834, allocations: 363.1 kB / 0.7311 GB, free: 8.355 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.4835, allocations: 8.031 kB / 0.7311 GB, free: 8.348 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.4835, allocations: 79.19 kB / 0.7311 GB, free: 8.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.4837, allocations: 270.1 kB / 0.7314 GB, free: 7.965 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.654e-05/0.4838, allocations: 154.6 kB / 0.7315 GB, free: 7.812 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.129e-05/0.4838, allocations: 162.5 kB / 0.7317 GB, free: 7.652 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.799e-05/0.4839, allocations: 104.9 kB / 0.7318 GB, free: 7.543 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.484, allocations: 79.22 kB / 0.7319 GB, free: 7.465 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-05/0.484, allocations: 150.6 kB / 0.732 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/0.4841, allocations: 150.6 kB / 0.7322 GB, free: 7.168 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.589e-05/0.4841, allocations: 154.5 kB / 0.7323 GB, free: 7.016 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.4844, allocations: 469.9 kB / 0.7328 GB, free: 6.508 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.073e-05/0.4845, allocations: 169.1 kB / 0.7329 GB, free: 6.332 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.005e-05/0.4846, allocations: 88.08 kB / 0.733 GB, free: 6.242 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.4846, allocations: 75.28 kB / 0.7331 GB, free: 6.168 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.4846, allocations: 109.8 kB / 0.7332 GB, free: 6.051 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.4846, allocations: 0 / 0.7332 GB, free: 6.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.747e-05/0.4847, allocations: 33.61 kB / 0.7332 GB, free: 6.012 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.4848, allocations: 126.7 kB / 0.7333 GB, free: 5.875 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.4849, allocations: 136 kB / 0.7335 GB, free: 5.734 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.485, allocations: 25.7 kB / 0.7335 GB, free: 5.703 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.485, allocations: 88.14 kB / 0.7336 GB, free: 5.613 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.485, allocations: 4 kB / 0.7336 GB, free: 5.609 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-06/0.485, allocations: 0 / 0.7336 GB, free: 5.609 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4852, allocations: 326.8 kB / 0.7339 GB, free: 5.281 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.4852, allocations: 3.938 kB / 0.7339 GB, free: 5.277 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.408e-05/0.4852, allocations: 8 kB / 0.7339 GB, free: 5.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.279e-05/0.4852, allocations: 4 kB / 0.7339 GB, free: 5.266 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4852, allocations: 0 / 0.7339 GB, free: 5.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000114/0.4853, allocations: 49.59 kB / 0.7339 GB, free: 5.211 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.4854, allocations: 4 kB / 0.734 GB, free: 5.207 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.4854, allocations: 4 kB / 0.734 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.4854, allocations: 4.062 kB / 0.734 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.4854, allocations: 0 / 0.734 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.4854, allocations: 0 / 0.734 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.815e-05/0.4854, allocations: 0 / 0.734 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.4855, allocations: 0 / 0.734 GB, free: 5.199 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.4856, allocations: 189.1 kB / 0.7341 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.444e-05/0.4856, allocations: 116.8 kB / 0.7343 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.684e-05/0.4857, allocations: 112.8 kB / 0.7344 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-05/0.4858, allocations: 180.2 kB / 0.7345 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.024e-05/0.4858, allocations: 180.3 kB / 0.7347 GB, free: 4.395 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-05/0.4859, allocations: 176.3 kB / 0.7349 GB, free: 4.215 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.4861, allocations: 425.1 kB / 0.7353 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.615e-05/0.4862, allocations: 101 kB / 0.7354 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/0.4862, allocations: 108.9 kB / 0.7355 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.356e-05/0.4863, allocations: 180.2 kB / 0.7356 GB, free: 3.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.345e-05/0.4864, allocations: 188.3 kB / 0.7358 GB, free: 3.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.731e-05/0.4865, allocations: 184.1 kB / 0.736 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.625e-05/0.4865, allocations: 180.2 kB / 0.7362 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.4867, allocations: 315.9 kB / 0.7365 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.462e-05/0.4868, allocations: 186.1 kB / 0.7367 GB, free: 2.238 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.359e-05/0.4869, allocations: 184.2 kB / 0.7368 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-05/0.487, allocations: 105 kB / 0.7369 GB, free: 1.941 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.479e-05/0.4871, allocations: 180.2 kB / 0.7371 GB, free: 1.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.794e-05/0.4871, allocations: 105 kB / 0.7372 GB, free: 1.648 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.738e-05/0.4872, allocations: 109.3 kB / 0.7373 GB, free: 1.543 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4872, allocations: 0 / 0.7373 GB, free: 1.543 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002648/0.4875, allocations: 39.94 kB / 0.7373 GB, free: 1.504 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 (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.0003002/0.4878, allocations: 214.5 kB / 0.7375 GB, free: 1.285 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.719e-05/0.4879, allocations: 37.64 kB / 0.7376 GB, free: 1.242 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4879, allocations: 64 / 0.7376 GB, free: 1.242 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.4879, allocations: 4 kB / 0.7376 GB, free: 1.238 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.4885, allocations: 0.5302 MB / 0.7381 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.4888, allocations: 239.8 kB / 0.7383 GB, free: 452 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.4891, allocations: 0.6887 MB / 0.739 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.936e-05/0.4891, allocations: 3.984 kB / 0.739 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.096e-05/0.4891, allocations: 11.44 kB / 0.739 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.4891, allocations: 0 / 0.739 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of Templates: time 0.003726/0.4929, allocations: 1.458 MB / 0.7404 GB, free: 14.29 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: