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.001148/0.001148, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001368/0.001368, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.418/1.418, allocations: 205.1 MB / 222 MB, free: 5 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.518/1.518, allocations: 251.7 MB / 0.5088 GB, free: 3.359 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.001375/0.001375, allocations: 63.91 kB / 0.6216 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.478/0.4794, allocations: 104.7 MB / 0.7238 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002764/0.4822, allocations: 1.536 MB / 0.7253 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.4836, allocations: 0.9821 MB / 0.7263 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.275e-05/0.4836, allocations: 4 kB / 0.7263 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.4838, allocations: 35.81 kB / 0.7263 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.668e-05/0.4839, allocations: 15.88 kB / 0.7263 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.4843, allocations: 177 kB / 0.7265 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.369e-05/0.4844, allocations: 47.73 kB / 0.7265 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.4845, allocations: 3.906 kB / 0.7266 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.018e-05/0.4845, allocations: 19.86 kB / 0.7266 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.819e-05/0.4846, allocations: 19.88 kB / 0.7266 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.4846, allocations: 0 / 0.7266 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002689/0.4849, allocations: 147.8 kB / 0.7267 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.4849, allocations: 4 kB / 0.7267 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.4849, allocations: 19.88 kB / 0.7268 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.4851, allocations: 125.7 kB / 0.7269 GB, free: 10.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4851, allocations: 7.984 kB / 0.7269 GB, free: 10.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.91e-07/0.4851, allocations: 0 / 0.7269 GB, free: 10.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.4852, allocations: 0 / 0.7269 GB, free: 10.14 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.0003239/0.4855, allocations: 363.3 kB / 0.7272 GB, free: 9.734 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.4855, allocations: 8.031 kB / 0.7272 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/0.4856, allocations: 84.12 kB / 0.7273 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.4858, allocations: 267.5 kB / 0.7276 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.917e-05/0.4858, allocations: 154.9 kB / 0.7277 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.4859, allocations: 150.9 kB / 0.7279 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.478e-05/0.4859, allocations: 105.3 kB / 0.728 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.486, allocations: 75.28 kB / 0.728 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.486, allocations: 150.6 kB / 0.7282 GB, free: 8.711 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.085e-05/0.4861, allocations: 154.6 kB / 0.7283 GB, free: 8.559 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.134e-05/0.4861, allocations: 154.6 kB / 0.7285 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002507/0.4864, allocations: 457.9 kB / 0.7289 GB, free: 7.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.941e-05/0.4864, allocations: 177.1 kB / 0.7291 GB, free: 7.727 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.884e-05/0.4865, allocations: 84.14 kB / 0.7292 GB, free: 7.641 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.4865, allocations: 75.28 kB / 0.7292 GB, free: 7.566 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.4865, allocations: 109.8 kB / 0.7293 GB, free: 7.449 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.4866, allocations: 0 / 0.7293 GB, free: 7.449 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.029e-05/0.4866, allocations: 37.55 kB / 0.7294 GB, free: 7.406 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.4867, allocations: 126.7 kB / 0.7295 GB, free: 7.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.4868, allocations: 143.9 kB / 0.7296 GB, free: 7.121 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.4868, allocations: 33.64 kB / 0.7297 GB, free: 7.082 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/0.4869, allocations: 88.14 kB / 0.7297 GB, free: 6.992 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.4869, allocations: 0 / 0.7297 GB, free: 6.992 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.4869, allocations: 13.72 kB / 0.7298 GB, free: 6.973 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.487, allocations: 322.8 kB / 0.7301 GB, free: 6.648 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.487, allocations: 0 / 0.7301 GB, free: 6.648 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.162e-05/0.4871, allocations: 4 kB / 0.7301 GB, free: 6.645 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.258e-05/0.4871, allocations: 20.92 kB / 0.7301 GB, free: 6.621 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4871, allocations: 0 / 0.7301 GB, free: 6.621 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001075/0.4872, allocations: 61.47 kB / 0.7301 GB, free: 6.555 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.4872, allocations: 4 kB / 0.7302 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.4873, allocations: 0 / 0.7302 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.4873, allocations: 0 / 0.7302 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.4873, allocations: 0 / 0.7302 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.4873, allocations: 4 kB / 0.7302 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.874e-05/0.4873, allocations: 0 / 0.7302 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.4873, allocations: 0 / 0.7302 GB, free: 6.547 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.275e-05/0.4874, allocations: 193.1 kB / 0.7303 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.4875, allocations: 108.8 kB / 0.7304 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/0.4875, allocations: 116.8 kB / 0.7306 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.596e-05/0.4876, allocations: 176.3 kB / 0.7307 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.763e-05/0.4876, allocations: 184.2 kB / 0.7309 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.055e-05/0.4877, allocations: 184.3 kB / 0.7311 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.4879, allocations: 413.2 kB / 0.7315 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.904e-05/0.4879, allocations: 108.9 kB / 0.7316 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.222e-05/0.4879, allocations: 104.9 kB / 0.7317 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.011e-05/0.488, allocations: 184.2 kB / 0.7318 GB, free: 4.684 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.856e-05/0.4881, allocations: 176.3 kB / 0.732 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-05/0.4881, allocations: 188.3 kB / 0.7322 GB, free: 4.312 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.097e-05/0.4882, allocations: 184.4 kB / 0.7324 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.4883, allocations: 311.7 kB / 0.7327 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.956e-05/0.4884, allocations: 189.9 kB / 0.7328 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.294e-05/0.4884, allocations: 184.3 kB / 0.733 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.88e-05/0.4885, allocations: 104.9 kB / 0.7331 GB, free: 3.289 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.4886, allocations: 180.2 kB / 0.7333 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.4886, allocations: 112.9 kB / 0.7334 GB, free: 2.988 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.095e-05/0.4887, allocations: 99.27 kB / 0.7335 GB, free: 2.891 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4887, allocations: 0 / 0.7335 GB, free: 2.891 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002555/0.4889, allocations: 31.94 kB / 0.7335 GB, free: 2.859 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.0002542/0.4892, allocations: 224.5 kB / 0.7337 GB, free: 2.633 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.043e-05/0.4893, allocations: 33.7 kB / 0.7338 GB, free: 2.594 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4893, allocations: 0 / 0.7338 GB, free: 2.594 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.4893, allocations: 3.938 kB / 0.7338 GB, free: 2.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.4898, allocations: 0.5437 MB / 0.7343 GB, free: 2.043 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/0.4901, allocations: 232.7 kB / 0.7345 GB, free: 1.793 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.4903, allocations: 0.6887 MB / 0.7352 GB, free: 1.078 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.993e-05/0.4903, allocations: 0 / 0.7352 GB, free: 1.078 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.249e-05/0.4903, allocations: 11.44 kB / 0.7352 GB, free: 1.066 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4903, allocations: 0 / 0.7352 GB, free: 1.066 MB / 0.545 GB Notification: Performance of Templates: time 0.003368/0.4937, allocations: 1.49 MB / 0.7367 GB, free: 15.62 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)