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.SingleUTubeBoundaryCondition.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.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 98.92 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.001238/0.001238, 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.538/1.538, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.594/1.594, allocations: 251.9 MB / 0.51 GB, free: 4.895 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.0005519/0.000552, allocations: 20 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5026/0.5031, allocations: 106.3 MB / 0.728 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.00249/0.5057, allocations: 1.869 MB / 0.7298 GB, free: 9.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.5071, allocations: 0.9759 MB / 0.7308 GB, free: 8.676 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-05/0.5072, allocations: 11.94 kB / 0.7308 GB, free: 8.664 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.5074, allocations: 43.75 kB / 0.7308 GB, free: 8.621 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.5075, allocations: 71.77 kB / 0.7309 GB, free: 8.551 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.5079, allocations: 131.6 kB / 0.731 GB, free: 8.422 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.5081, allocations: 195.5 kB / 0.7312 GB, free: 8.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.5082, allocations: 34.34 kB / 0.7312 GB, free: 8.199 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.5084, allocations: 107.5 kB / 0.7313 GB, free: 8.094 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.5086, allocations: 103.6 kB / 0.7314 GB, free: 7.992 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.5086, allocations: 8 kB / 0.7314 GB, free: 7.984 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002325/0.5088, allocations: 83.92 kB / 0.7315 GB, free: 7.902 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.222e-05/0.5089, allocations: 43.83 kB / 0.7316 GB, free: 7.859 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.566e-05/0.509, allocations: 73.56 kB / 0.7316 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.5093, allocations: 223.3 kB / 0.7318 GB, free: 7.562 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.5093, allocations: 0 / 0.7318 GB, free: 7.562 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5093, allocations: 0 / 0.7318 GB, free: 7.562 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.5093, allocations: 0 / 0.7318 GB, free: 7.562 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0008977/0.5102, allocations: 0.5514 MB / 0.7324 GB, free: 6.957 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.5102, allocations: 12.03 kB / 0.7324 GB, free: 6.945 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.552e-05/0.5103, allocations: 27.67 kB / 0.7324 GB, free: 6.918 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.5107, allocations: 289.8 kB / 0.7327 GB, free: 6.594 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.5108, allocations: 12.23 kB / 0.7327 GB, free: 6.582 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.5108, allocations: 19.94 kB / 0.7327 GB, free: 6.562 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.5112, allocations: 209.7 kB / 0.7329 GB, free: 6.336 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.5112, allocations: 0 / 0.7329 GB, free: 6.336 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.5113, allocations: 11.98 kB / 0.7329 GB, free: 6.324 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.5113, allocations: 8 kB / 0.7329 GB, free: 6.316 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003679/0.5117, allocations: 115.8 kB / 0.7331 GB, free: 6.203 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.5127, allocations: 0.8878 MB / 0.7339 GB, free: 5.246 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.5132, allocations: 215.8 kB / 0.7341 GB, free: 5.008 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.5132, allocations: 0 / 0.7341 GB, free: 5.008 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004538/0.5137, allocations: 209.9 kB / 0.7343 GB, free: 4.781 MB / 0.545 GB Notification: Performance of pre-optimization done (n=23): time 1.924e-06/0.5137, allocations: 0 / 0.7343 GB, free: 4.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.0008915/0.5146, allocations: 377.1 kB / 0.7347 GB, free: 4.406 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/0.5147, allocations: 119 kB / 0.7348 GB, free: 4.266 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.5149, allocations: 242.5 kB / 0.735 GB, free: 4.023 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.515, allocations: 41.7 kB / 0.7351 GB, free: 3.977 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.5151, allocations: 140.5 kB / 0.7352 GB, free: 3.836 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.475e-05/0.5151, allocations: 59.25 kB / 0.7353 GB, free: 3.777 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.433e-05/0.5152, allocations: 8 kB / 0.7353 GB, free: 3.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5153, allocations: 342.8 kB / 0.7356 GB, free: 3.426 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.5156, allocations: 84.77 kB / 0.7357 GB, free: 3.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.5159, allocations: 263.1 kB / 0.7359 GB, free: 3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.5162, allocations: 141.6 kB / 0.7361 GB, free: 2.855 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.5162, allocations: 4 kB / 0.7361 GB, free: 2.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000716/0.5169, allocations: 407 kB / 0.7365 GB, free: 2.441 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.517, allocations: 41.73 kB / 0.7365 GB, free: 2.395 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.517, allocations: 12 kB / 0.7365 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.517, allocations: 8 kB / 0.7365 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.5172, allocations: 67.84 kB / 0.7366 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/0.5173, allocations: 19.92 kB / 0.7366 GB, free: 2.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.5175, allocations: 47.61 kB / 0.7366 GB, free: 2.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.5175, allocations: 20 kB / 0.7367 GB, free: 2.223 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.TBouSte.QAve_flow,TBouSte.QAve_flow,$PRE.TBouSte.UOld,TBouSte.UOld,$PRE.TBouSte.port.T,TBouSte.port.T,$PRE.TBouSte.iSam,TBouSte.iSam,$whenCondition4,$PRE.TBouCon.QAve_flow,TBouCon.QAve_flow,$PRE.TBouCon.UOld,TBouCon.UOld,$PRE.TBouCon.port.T,TBouCon.port.T,$PRE.TBouCon.iSam,TBouCon.iSam,$whenCondition3,$PRE.TBouPul.QAve_flow,TBouPul.QAve_flow,$PRE.TBouPul.UOld,TBouPul.UOld,$PRE.TBouPul.port.T,TBouPul.port.T,$PRE.TBouPul.iSam,TBouPul.iSam,$whenCondition1,$whenCondition2,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 0.0001551/0.5177, allocations: 164.3 kB / 0.7368 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.5177, allocations: 35.55 kB / 0.7369 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.5178, allocations: 25.67 kB / 0.7369 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.5178, allocations: 0 / 0.7369 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5178, allocations: 7.938 kB / 0.7369 GB, free: 1.984 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.5178, allocations: 3.984 kB / 0.7369 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.5181, allocations: 257.5 kB / 0.7371 GB, free: 1.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.5181, allocations: 4 kB / 0.7371 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.5182, allocations: 23.98 kB / 0.7372 GB, free: 1.652 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5182, allocations: 0 / 0.7372 GB, free: 1.652 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.5183, allocations: 11.98 kB / 0.7372 GB, free: 1.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.5183, allocations: 7.953 kB / 0.7372 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5183, allocations: 0 / 0.7372 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008853/0.5192, allocations: 463.7 kB / 0.7376 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.5193, allocations: 104.7 kB / 0.7377 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/0.5193, allocations: 12.03 kB / 0.7377 GB, free: 1.012 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.5195, allocations: 23.98 kB / 0.7378 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.972e-05/0.5196, allocations: 27.97 kB / 0.7378 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.5196, allocations: 12.23 kB / 0.7378 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001509/0.5198, allocations: 162 kB / 0.7379 GB, free: 0.793 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5198, allocations: 0 / 0.7379 GB, free: 0.793 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004038/0.5202, allocations: 83.98 kB / 0.738 GB, free: 0.7109 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0004172/0.5206, allocations: 181.7 kB / 0.7382 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006517/0.5213, allocations: 307.5 kB / 0.7385 GB, free: 224 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5213, allocations: 0 / 0.7385 GB, free: 224 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002502/0.5216, allocations: 105 kB / 0.7386 GB, free: 120 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.5219, allocations: 68.53 kB / 0.7387 GB, free: 52 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.5231, allocations: 0.6828 MB / 0.7393 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.5234, allocations: 0.7449 MB / 0.7401 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001576/0.5236, allocations: 50.94 kB / 0.7401 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.5236, allocations: 23.44 kB / 0.7401 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.5236, allocations: 0 / 0.7401 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of Templates: time 0.00762/0.5312, allocations: 3.596 MB / 0.7436 GB, free: 10.97 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) Environment - environmentSimulation: