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.001566/0.001566, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.449/1.449, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.532/1.532, allocations: 251.7 MB / 0.5092 GB, free: 3.109 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.00147/0.00147, allocations: 63.89 kB / 0.6223 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.453, allocations: 104.7 MB / 0.7245 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002646/0.4557, allocations: 1.467 MB / 0.726 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.4569, allocations: 0.9469 MB / 0.7269 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.823e-05/0.457, allocations: 7.938 kB / 0.7269 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.4572, allocations: 47.8 kB / 0.7269 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.672e-05/0.4573, allocations: 15.8 kB / 0.727 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004895/0.4578, allocations: 201 kB / 0.7271 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.852e-05/0.4578, allocations: 43.69 kB / 0.7272 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.4579, allocations: 7.984 kB / 0.7272 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.956e-05/0.458, allocations: 15.94 kB / 0.7272 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.144e-05/0.458, allocations: 19.88 kB / 0.7272 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.458, allocations: 0 / 0.7272 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000294/0.4583, allocations: 155.8 kB / 0.7274 GB, free: 9.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.4583, allocations: 4 kB / 0.7274 GB, free: 9.977 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.4584, allocations: 15.88 kB / 0.7274 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.4586, allocations: 125.6 kB / 0.7275 GB, free: 9.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4586, allocations: 7.922 kB / 0.7275 GB, free: 9.832 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4586, allocations: 0 / 0.7275 GB, free: 9.832 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.595e-06/0.4586, allocations: 0 / 0.7275 GB, free: 9.832 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.00036/0.459, allocations: 371.2 kB / 0.7279 GB, free: 9.422 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.459, allocations: 12.03 kB / 0.7279 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.835e-05/0.4591, allocations: 80.12 kB / 0.728 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.4593, allocations: 263.5 kB / 0.7282 GB, free: 9.035 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.131e-05/0.4593, allocations: 150.9 kB / 0.7284 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/0.4594, allocations: 154.9 kB / 0.7285 GB, free: 8.734 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.138e-05/0.4595, allocations: 117.2 kB / 0.7286 GB, free: 8.613 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.4595, allocations: 75.28 kB / 0.7287 GB, free: 8.539 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-05/0.4595, allocations: 150.6 kB / 0.7288 GB, free: 8.391 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.079e-05/0.4596, allocations: 150.6 kB / 0.729 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.491e-05/0.4596, allocations: 150.6 kB / 0.7291 GB, free: 8.094 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/0.4599, allocations: 469.9 kB / 0.7296 GB, free: 7.586 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.102e-05/0.46, allocations: 169.1 kB / 0.7297 GB, free: 7.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.46, allocations: 80.14 kB / 0.7298 GB, free: 7.328 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.46, allocations: 75.28 kB / 0.7299 GB, free: 7.254 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.4601, allocations: 117.8 kB / 0.73 GB, free: 7.129 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.4601, allocations: 4 kB / 0.73 GB, free: 7.125 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.177e-05/0.4602, allocations: 29.61 kB / 0.73 GB, free: 7.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.668e-05/0.4603, allocations: 134.7 kB / 0.7301 GB, free: 6.945 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.4604, allocations: 131.9 kB / 0.7303 GB, free: 6.809 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.4604, allocations: 25.7 kB / 0.7303 GB, free: 6.777 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.4605, allocations: 88.14 kB / 0.7304 GB, free: 6.688 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.4605, allocations: 0 / 0.7304 GB, free: 6.688 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.4605, allocations: 21.66 kB / 0.7304 GB, free: 6.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.223e-05/0.4606, allocations: 318.8 kB / 0.7307 GB, free: 6.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.263e-05/0.4606, allocations: 11.94 kB / 0.7307 GB, free: 6.328 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.403e-05/0.4606, allocations: 4 kB / 0.7307 GB, free: 6.324 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.05e-05/0.4607, allocations: 12.86 kB / 0.7307 GB, free: 6.309 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4607, allocations: 0 / 0.7307 GB, free: 6.309 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000111/0.4608, allocations: 49.53 kB / 0.7308 GB, free: 6.254 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.4608, allocations: 4 kB / 0.7308 GB, free: 6.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.4608, allocations: 4 kB / 0.7308 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.4609, allocations: 0 / 0.7308 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.4609, allocations: 4.062 kB / 0.7308 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.912e-06/0.4609, allocations: 3.984 kB / 0.7308 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.043e-05/0.4609, allocations: 7.938 kB / 0.7308 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.4609, allocations: 4 kB / 0.7308 GB, free: 6.227 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.491e-05/0.461, allocations: 185.1 kB / 0.731 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/0.4611, allocations: 116.9 kB / 0.7311 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/0.4611, allocations: 108.8 kB / 0.7312 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.846e-05/0.4612, allocations: 192.2 kB / 0.7314 GB, free: 5.602 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.576e-05/0.4613, allocations: 184.2 kB / 0.7316 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.549e-05/0.4613, allocations: 180.2 kB / 0.7317 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.4615, allocations: 409.2 kB / 0.7321 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.743e-05/0.4616, allocations: 109 kB / 0.7322 GB, free: 4.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.4616, allocations: 108.9 kB / 0.7323 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.784e-05/0.4617, allocations: 188.2 kB / 0.7325 GB, free: 4.355 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.802e-05/0.4617, allocations: 180.2 kB / 0.7327 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.634e-05/0.4618, allocations: 176.3 kB / 0.7329 GB, free: 3.992 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-05/0.4619, allocations: 176.3 kB / 0.733 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.462, allocations: 319.7 kB / 0.7333 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.62e-05/0.4621, allocations: 189.9 kB / 0.7335 GB, free: 3.266 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.207e-05/0.4622, allocations: 180.3 kB / 0.7337 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.4623, allocations: 101 kB / 0.7338 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.4623, allocations: 188.2 kB / 0.734 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.4624, allocations: 105 kB / 0.7341 GB, free: 2.676 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.763e-05/0.4624, allocations: 103.9 kB / 0.7342 GB, free: 2.574 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4625, allocations: 0 / 0.7342 GB, free: 2.574 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002614/0.4627, allocations: 31.94 kB / 0.7342 GB, free: 2.543 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.0002592/0.463, allocations: 214.5 kB / 0.7344 GB, free: 2.324 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.409e-05/0.4631, allocations: 41.58 kB / 0.7344 GB, free: 2.277 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4631, allocations: 0 / 0.7344 GB, free: 2.277 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.774e-06/0.4631, allocations: 0 / 0.7344 GB, free: 2.277 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.4636, allocations: 475.5 kB / 0.7349 GB, free: 1.816 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.4639, allocations: 242.8 kB / 0.7351 GB, free: 1.555 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.4641, allocations: 0.6846 MB / 0.7358 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.757e-05/0.4642, allocations: 0 / 0.7358 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/0.4642, allocations: 11.44 kB / 0.7358 GB, free: 0.832 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4642, allocations: 0 / 0.7358 GB, free: 0.832 MB / 0.545 GB Notification: Performance of Templates: time 0.004142/0.4683, allocations: 1.516 MB / 0.7373 GB, free: 15.36 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)