Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.487/2.487, allocations: 287.5 MB / 303.2 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001362/0.001362, allocations: 175.3 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009138/0.0009134, allocations: 93.8 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006395/0.0006397, allocations: 11.64 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2161, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8982/1.114, allocations: 142.7 MB / 1.119 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/1.115, allocations: 103.9 kB / 1.119 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02385/1.139, allocations: 5.34 MB / 1.124 GB, free: 31.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.515e-06/1.139, allocations: 0 / 1.124 GB, free: 31.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.709e-05/1.139, allocations: 3.969 kB / 1.124 GB, free: 31.05 MB / 0.698 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.001437/1.14, allocations: 0.568 MB / 1.125 GB, free: 30.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.14, allocations: 7.656 kB / 1.125 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/1.14, allocations: 31.02 kB / 1.125 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005785/1.141, allocations: 304.1 kB / 1.125 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/1.141, allocations: 16.11 kB / 1.125 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.975e-05/1.141, allocations: 22.52 kB / 1.125 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006247/1.142, allocations: 213.4 kB / 1.125 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/1.142, allocations: 192 / 1.125 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/1.142, allocations: 14.36 kB / 1.125 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/1.142, allocations: 3.844 kB / 1.125 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000568/1.142, allocations: 128.5 kB / 1.125 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/1.144, allocations: 0.9152 MB / 1.126 GB, free: 29.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007492/1.145, allocations: 238 kB / 1.126 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003303/1.145, allocations: 86.86 kB / 1.126 GB, free: 29.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/1.145, allocations: 11.78 kB / 1.126 GB, free: 29.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006155/1.146, allocations: 209.4 kB / 1.127 GB, free: 29.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 3.327e-06/1.146, allocations: 0 / 1.127 GB, free: 29.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.001374/1.147, allocations: 388.6 kB / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.906e-05/1.147, allocations: 117.5 kB / 1.127 GB, free: 29.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/1.148, allocations: 236.8 kB / 1.127 GB, free: 29.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.826e-05/1.148, allocations: 39.64 kB / 1.127 GB, free: 29.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/1.148, allocations: 144.3 kB / 1.128 GB, free: 28.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.187e-05/1.148, allocations: 63.36 kB / 1.128 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.901e-05/1.148, allocations: 11.75 kB / 1.128 GB, free: 28.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.148, allocations: 344.9 kB / 1.128 GB, free: 28.56 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/1.148, allocations: 82.88 kB / 1.128 GB, free: 28.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/1.149, allocations: 269.5 kB / 1.128 GB, free: 28.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008021/1.15, allocations: 403.8 kB / 1.129 GB, free: 28.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/1.15, allocations: 0 / 1.129 GB, free: 28.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001113/1.151, allocations: 417.1 kB / 1.129 GB, free: 27.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.743e-05/1.151, allocations: 40.14 kB / 1.129 GB, free: 27.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/1.151, allocations: 7.781 kB / 1.129 GB, free: 27.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/1.151, allocations: 7.75 kB / 1.129 GB, free: 27.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/1.151, allocations: 68.58 kB / 1.129 GB, free: 27.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/1.151, allocations: 7.625 kB / 1.129 GB, free: 27.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/1.152, allocations: 64.31 kB / 1.129 GB, free: 27.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/1.152, allocations: 19.19 kB / 1.129 GB, free: 27.85 MB / 0.698 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.0002827/1.152, allocations: 158.6 kB / 1.129 GB, free: 27.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/1.152, allocations: 30.16 kB / 1.129 GB, free: 27.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.98e-05/1.152, allocations: 24 kB / 1.13 GB, free: 27.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/1.152, allocations: 3.938 kB / 1.13 GB, free: 27.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1.152, allocations: 4 kB / 1.13 GB, free: 27.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/1.152, allocations: 3.938 kB / 1.13 GB, free: 27.69 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/1.153, allocations: 265.2 kB / 1.13 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/1.153, allocations: 0 / 1.13 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/1.153, allocations: 31.83 kB / 1.13 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.153, allocations: 0 / 1.13 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/1.153, allocations: 5.969 kB / 1.13 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/1.153, allocations: 6.141 kB / 1.13 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.153, allocations: 0 / 1.13 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/1.154, allocations: 450.1 kB / 1.13 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.312e-05/1.154, allocations: 110.2 kB / 1.13 GB, free: 27.28 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.389e-05/1.155, allocations: 10.31 kB / 1.13 GB, free: 27.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002675/1.155, allocations: 24.22 kB / 1.13 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.641e-05/1.155, allocations: 32.47 kB / 1.13 GB, free: 27.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/1.155, allocations: 13.48 kB / 1.13 GB, free: 27.26 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002003/1.155, allocations: 164.7 kB / 1.131 GB, free: 27.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.403e-06/1.155, allocations: 0 / 1.131 GB, free: 27.18 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006403/1.156, allocations: 97.64 kB / 1.131 GB, free: 27.16 MB / 0.698 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.0004814/1.156, allocations: 187.4 kB / 1.131 GB, free: 27.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009582/1.157, allocations: 319.9 kB / 1.131 GB, free: 26.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.157, allocations: 1.438 kB / 1.131 GB, free: 26.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004412/1.158, allocations: 112.3 kB / 1.131 GB, free: 26.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006206/1.158, allocations: 54.25 kB / 1.131 GB, free: 26.94 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/1.161, allocations: 0.8204 MB / 1.132 GB, free: 26.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/1.161, allocations: 0.7381 MB / 1.133 GB, free: 25.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000256/1.161, allocations: 52.31 kB / 1.133 GB, free: 25.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.131e-05/1.161, allocations: 25.42 kB / 1.133 GB, free: 25.79 MB / 0.698 GB Notification: Performance of SimCode: time 8.91e-07/1.161, allocations: 3.938 kB / 1.133 GB, free: 25.79 MB / 0.698 GB Notification: Performance of Templates: time 0.01121/1.173, allocations: 3.664 MB / 1.136 GB, free: 24.79 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)