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.001316/0.001316, allocations: 100.4 kB / 15.05 MB, free: 1.105 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.001792/0.001792, allocations: 177.3 kB / 15.94 MB, free: 228 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.609/1.609, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.592/1.592, allocations: 251.9 MB / 0.51 GB, free: 4.871 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.0005677/0.0005678, allocations: 23.27 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5309/0.5315, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.00184/0.5334, allocations: 1.157 MB / 0.7291 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.5348, allocations: 0.8309 MB / 0.7299 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.948e-05/0.535, allocations: 0 / 0.7299 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.5352, allocations: 47.86 kB / 0.73 GB, free: 9.402 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.887e-05/0.5352, allocations: 15.91 kB / 0.73 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005654/0.5358, allocations: 174.7 kB / 0.7301 GB, free: 9.219 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.178e-05/0.5359, allocations: 35.94 kB / 0.7302 GB, free: 9.184 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.765e-05/0.536, allocations: 7.984 kB / 0.7302 GB, free: 9.176 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.381e-05/0.5361, allocations: 19.92 kB / 0.7302 GB, free: 9.156 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.337e-05/0.5361, allocations: 15.88 kB / 0.7302 GB, free: 9.141 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.5361, allocations: 0 / 0.7302 GB, free: 9.141 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.5365, allocations: 143.8 kB / 0.7304 GB, free: 9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.5365, allocations: 0 / 0.7304 GB, free: 9 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.504e-05/0.5365, allocations: 37.64 kB / 0.7304 GB, free: 8.957 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.5367, allocations: 85.78 kB / 0.7305 GB, free: 8.875 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.5367, allocations: 4 kB / 0.7305 GB, free: 8.871 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5368, allocations: 3.938 kB / 0.7305 GB, free: 8.867 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.5368, allocations: 0 / 0.7305 GB, free: 8.867 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.0003686/0.5371, allocations: 363.1 kB / 0.7308 GB, free: 8.465 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.5372, allocations: 12.03 kB / 0.7308 GB, free: 8.453 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.121e-05/0.5373, allocations: 79.19 kB / 0.7309 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.5375, allocations: 260 kB / 0.7312 GB, free: 8.082 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.918e-05/0.5376, allocations: 150.6 kB / 0.7313 GB, free: 7.934 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.505e-05/0.5376, allocations: 158.6 kB / 0.7315 GB, free: 7.777 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.678e-05/0.5377, allocations: 108.9 kB / 0.7316 GB, free: 7.664 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.5377, allocations: 79.28 kB / 0.7316 GB, free: 7.586 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.5378, allocations: 150.6 kB / 0.7318 GB, free: 7.438 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-05/0.5379, allocations: 150.6 kB / 0.7319 GB, free: 7.289 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.305e-05/0.538, allocations: 154.6 kB / 0.7321 GB, free: 7.137 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.5383, allocations: 465.9 kB / 0.7325 GB, free: 6.633 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.653e-05/0.5384, allocations: 169.1 kB / 0.7327 GB, free: 6.457 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.5385, allocations: 75.28 kB / 0.7328 GB, free: 6.383 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.5385, allocations: 117.8 kB / 0.7329 GB, free: 6.258 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.5385, allocations: 0 / 0.7329 GB, free: 6.258 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.721e-05/0.5386, allocations: 29.61 kB / 0.7329 GB, free: 6.223 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.5387, allocations: 134.7 kB / 0.733 GB, free: 6.078 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.5388, allocations: 126 kB / 0.7331 GB, free: 5.945 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.5388, allocations: 25.7 kB / 0.7332 GB, free: 5.914 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.5389, allocations: 96.12 kB / 0.7333 GB, free: 5.816 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.5389, allocations: 0 / 0.7333 GB, free: 5.816 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.5389, allocations: 4 kB / 0.7333 GB, free: 5.812 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.539, allocations: 322.7 kB / 0.7336 GB, free: 5.488 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.539, allocations: 4 kB / 0.7336 GB, free: 5.484 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.075e-05/0.539, allocations: 0 / 0.7336 GB, free: 5.484 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.548e-05/0.5391, allocations: 11.98 kB / 0.7336 GB, free: 5.473 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5391, allocations: 0 / 0.7336 GB, free: 5.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001252/0.5392, allocations: 45.61 kB / 0.7336 GB, free: 5.422 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.5392, allocations: 14.44 kB / 0.7336 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.5393, allocations: 0 / 0.7336 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.5393, allocations: 4.062 kB / 0.7336 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.705e-06/0.5393, allocations: 0 / 0.7336 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.5393, allocations: 11.92 kB / 0.7337 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.315e-05/0.5393, allocations: 0 / 0.7337 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.5393, allocations: 0 / 0.7337 GB, free: 5.395 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.0001035/0.5395, allocations: 192.3 kB / 0.7338 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.96e-05/0.5395, allocations: 108.8 kB / 0.7339 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.363e-05/0.5396, allocations: 116.9 kB / 0.7341 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.491e-05/0.5396, allocations: 188.2 kB / 0.7342 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.728e-05/0.5397, allocations: 176.3 kB / 0.7344 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-05/0.5398, allocations: 180.3 kB / 0.7346 GB, free: 4.406 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.54, allocations: 413.1 kB / 0.735 GB, free: 3.945 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.531e-05/0.5401, allocations: 109 kB / 0.7351 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.5401, allocations: 112.9 kB / 0.7352 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6e-05/0.5402, allocations: 176.3 kB / 0.7353 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.908e-05/0.5403, allocations: 176.3 kB / 0.7355 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.792e-05/0.5403, allocations: 184.2 kB / 0.7357 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.043e-05/0.5404, allocations: 176.3 kB / 0.7359 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.5405, allocations: 315.9 kB / 0.7362 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.772e-05/0.5406, allocations: 186.1 kB / 0.7363 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.877e-05/0.5407, allocations: 188.2 kB / 0.7365 GB, free: 2.258 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-05/0.5408, allocations: 105 kB / 0.7366 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.5409, allocations: 188.2 kB / 0.7368 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.5409, allocations: 109 kB / 0.7369 GB, free: 1.844 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.097e-05/0.541, allocations: 99.17 kB / 0.737 GB, free: 1.746 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.541, allocations: 0 / 0.737 GB, free: 1.746 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002822/0.5413, allocations: 39.92 kB / 0.737 GB, free: 1.707 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.0002975/0.5416, allocations: 214.5 kB / 0.7372 GB, free: 1.488 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.5417, allocations: 41.62 kB / 0.7373 GB, free: 1.441 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5417, allocations: 0 / 0.7373 GB, free: 1.441 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.036e-06/0.5417, allocations: 4.062 kB / 0.7373 GB, free: 1.438 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.5422, allocations: 0.5224 MB / 0.7378 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.5425, allocations: 251.6 kB / 0.738 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.5429, allocations: 0.6926 MB / 0.7387 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.542e-05/0.5429, allocations: 0 / 0.7387 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.616e-05/0.5429, allocations: 11.44 kB / 0.7387 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5429, allocations: 0 / 0.7387 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.00449/0.5474, allocations: 1.457 MB / 0.7401 GB, free: 14.48 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: