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.0009513/0.0009513, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.007684/0.007684, allocations: 173.9 kB / 16.27 MB, free: 6.613 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.394/1.394, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.511/1.511, allocations: 252 MB / 0.5105 GB, free: 4.625 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.0005136/0.0005136, allocations: 16 kB / 0.6249 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4008, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002497/0.4034, allocations: 2.032 MB / 0.7307 GB, free: 9.203 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.405, allocations: 1.034 MB / 0.7317 GB, free: 8.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.4051, allocations: 7.938 kB / 0.7317 GB, free: 8.152 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.4053, allocations: 43.75 kB / 0.7318 GB, free: 8.109 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.4055, allocations: 67.48 kB / 0.7318 GB, free: 8.043 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.406, allocations: 135.7 kB / 0.732 GB, free: 7.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.4062, allocations: 278.7 kB / 0.7322 GB, free: 7.637 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.4063, allocations: 34.36 kB / 0.7323 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.4065, allocations: 99.5 kB / 0.7324 GB, free: 7.508 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.4066, allocations: 107.5 kB / 0.7325 GB, free: 7.402 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.4067, allocations: 8 kB / 0.7325 GB, free: 7.395 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002561/0.4069, allocations: 103.8 kB / 0.7326 GB, free: 7.293 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.399e-05/0.407, allocations: 43.77 kB / 0.7326 GB, free: 7.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.4071, allocations: 133.2 kB / 0.7327 GB, free: 7.113 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.4075, allocations: 298.9 kB / 0.733 GB, free: 6.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.4075, allocations: 4 kB / 0.733 GB, free: 6.816 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4075, allocations: 0 / 0.733 GB, free: 6.816 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.4075, allocations: 0 / 0.733 GB, free: 6.816 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.0008544/0.4084, allocations: 0.5438 MB / 0.7336 GB, free: 6.219 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.4084, allocations: 12.03 kB / 0.7336 GB, free: 6.207 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.486e-05/0.4085, allocations: 32.66 kB / 0.7336 GB, free: 6.176 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.4089, allocations: 302.8 kB / 0.7339 GB, free: 5.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.4089, allocations: 12.61 kB / 0.7339 GB, free: 5.828 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.409, allocations: 16.38 kB / 0.7339 GB, free: 5.812 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.4094, allocations: 214.7 kB / 0.7341 GB, free: 5.582 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.4094, allocations: 4 kB / 0.7341 GB, free: 5.578 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.4094, allocations: 7.984 kB / 0.7341 GB, free: 5.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.4094, allocations: 4 kB / 0.7341 GB, free: 5.566 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003607/0.4098, allocations: 127.8 kB / 0.7343 GB, free: 5.441 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009322/0.4107, allocations: 0.8724 MB / 0.7351 GB, free: 4.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004908/0.4113, allocations: 219.8 kB / 0.7353 GB, free: 4.258 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.4115, allocations: 86.58 kB / 0.7354 GB, free: 4.164 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.4115, allocations: 4 kB / 0.7354 GB, free: 4.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004181/0.4119, allocations: 209.7 kB / 0.7356 GB, free: 3.934 MB / 0.545 GB Notification: Performance of pre-optimization done (n=23): time 1.994e-06/0.4119, allocations: 0 / 0.7356 GB, free: 3.934 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.0008765/0.4128, allocations: 381.2 kB / 0.736 GB, free: 3.555 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.4129, allocations: 122.8 kB / 0.7361 GB, free: 3.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.4131, allocations: 242.5 kB / 0.7363 GB, free: 3.168 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.793e-05/0.4132, allocations: 41.69 kB / 0.7364 GB, free: 3.121 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.363e-05/0.4132, allocations: 140.5 kB / 0.7365 GB, free: 2.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/0.4133, allocations: 59.23 kB / 0.7366 GB, free: 2.922 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.4134, allocations: 45.7 kB / 0.7366 GB, free: 2.871 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.4135, allocations: 338.8 kB / 0.7369 GB, free: 2.531 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.4137, allocations: 88.77 kB / 0.737 GB, free: 2.441 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.414, allocations: 259.1 kB / 0.7373 GB, free: 2.105 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000561/0.4146, allocations: 404.8 kB / 0.7376 GB, free: 1.621 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.4146, allocations: 4 kB / 0.7376 GB, free: 1.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007367/0.4154, allocations: 418.4 kB / 0.738 GB, free: 1.195 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.4154, allocations: 34.33 kB / 0.7381 GB, free: 1.156 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.4154, allocations: 12.06 kB / 0.7381 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.4155, allocations: 12 kB / 0.7381 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.4157, allocations: 71.83 kB / 0.7382 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.4157, allocations: 11.94 kB / 0.7382 GB, free: 1.051 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.4159, allocations: 55.66 kB / 0.7382 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.416, allocations: 16 kB / 0.7383 GB, free: 0.9805 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 (TBouSte.QAve_flow,$PRE.TBouSte.QAve_flow,TBouSte.UOld,$PRE.TBouSte.UOld,TBouSte.port.T,$PRE.TBouSte.port.T,TBouSte.iSam,$PRE.TBouSte.iSam,$whenCondition4,TBouCon.QAve_flow,$PRE.TBouCon.QAve_flow,TBouCon.UOld,$PRE.TBouCon.UOld,TBouCon.port.T,$PRE.TBouCon.port.T,TBouCon.iSam,$PRE.TBouCon.iSam,$whenCondition3,TBouPul.QAve_flow,$PRE.TBouPul.QAve_flow,TBouPul.UOld,$PRE.TBouPul.UOld,TBouPul.port.T,$PRE.TBouPul.port.T,TBouPul.iSam,$PRE.TBouPul.iSam,$whenCondition1,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001375/0.4161, allocations: 167.9 kB / 0.7384 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.4162, allocations: 23.72 kB / 0.7384 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.4162, allocations: 25.7 kB / 0.7385 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4162, allocations: 0 / 0.7385 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.4163, allocations: 7.938 kB / 0.7385 GB, free: 0.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4163, allocations: 0 / 0.7385 GB, free: 0.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.4165, allocations: 265.4 kB / 0.7387 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4165, allocations: 0 / 0.7387 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.4167, allocations: 35.91 kB / 0.7388 GB, free: 416 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4167, allocations: 0 / 0.7388 GB, free: 416 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.4167, allocations: 8 kB / 0.7388 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4167, allocations: 0 / 0.7388 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4167, allocations: 7.938 kB / 0.7388 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008534/0.4176, allocations: 443.6 kB / 0.7392 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.4177, allocations: 100.8 kB / 0.7393 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.4177, allocations: 12 kB / 0.7393 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.4179, allocations: 20.28 kB / 0.7393 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.418, allocations: 27.91 kB / 0.7393 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.418, allocations: 12 kB / 0.7394 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001338/0.4181, allocations: 170 kB / 0.7395 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4181, allocations: 7.938 kB / 0.7395 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003802/0.4185, allocations: 76 kB / 0.7396 GB, free: 15.5 MB / 0.5606 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 (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.0002933/0.4188, allocations: 170.1 kB / 0.7398 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000592/0.4194, allocations: 307.1 kB / 0.7401 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4194, allocations: 0 / 0.7401 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.4197, allocations: 115.8 kB / 0.7402 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.4201, allocations: 52.72 kB / 0.7402 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.4212, allocations: 0.7217 MB / 0.7409 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.4215, allocations: 0.745 MB / 0.7416 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001456/0.4216, allocations: 54.88 kB / 0.7417 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.995e-05/0.4217, allocations: 27.44 kB / 0.7417 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.4217, allocations: 3.938 kB / 0.7417 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.00713/0.4288, allocations: 3.734 MB / 0.7454 GB, free: 9.586 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: