Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.673/1.673, allocations: 288.3 MB / 303.2 MB, free: 8.324 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.001092/0.001092, allocations: 189 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.4 MB / 0.6306 GB, free: 9.988 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.0007941/0.000794, allocations: 97.08 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000481/0.000481, allocations: 11.12 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1974, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6426/0.8401, allocations: 142.9 MB / 1.119 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.8403, allocations: 97.55 kB / 1.119 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01493/0.8553, allocations: 5.324 MB / 1.124 GB, free: 31.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8553, allocations: 0 / 1.124 GB, free: 31.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.8553, allocations: 3.875 kB / 1.124 GB, free: 31.6 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.000919/0.8563, allocations: 0.5752 MB / 1.125 GB, free: 31.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.8563, allocations: 15.67 kB / 1.125 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.8564, allocations: 23.09 kB / 1.125 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.8567, allocations: 299.8 kB / 1.125 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.8568, allocations: 20.78 kB / 1.125 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.8568, allocations: 21.41 kB / 1.125 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003629/0.8572, allocations: 215.4 kB / 1.125 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.8572, allocations: 0 / 1.125 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.8572, allocations: 6.875 kB / 1.125 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.8573, allocations: 7.875 kB / 1.125 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.8576, allocations: 128.8 kB / 1.126 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.8586, allocations: 0.9065 MB / 1.126 GB, free: 30.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004178/0.859, allocations: 234 kB / 1.127 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.8591, allocations: 3 kB / 1.127 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003899/0.8594, allocations: 217 kB / 1.127 GB, free: 29.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/0.8595, allocations: 0 / 1.127 GB, free: 29.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0007916/0.8603, allocations: 392.6 kB / 1.127 GB, free: 29.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.8603, allocations: 112.5 kB / 1.127 GB, free: 29.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.8605, allocations: 217.2 kB / 1.128 GB, free: 29.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.8605, allocations: 36.45 kB / 1.128 GB, free: 29.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.402e-05/0.8606, allocations: 140.3 kB / 1.128 GB, free: 29.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.8607, allocations: 63.69 kB / 1.128 GB, free: 29.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/0.8607, allocations: 3.438 kB / 1.128 GB, free: 29.46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.8608, allocations: 347.8 kB / 1.128 GB, free: 29.15 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.861, allocations: 88.86 kB / 1.128 GB, free: 29.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.8613, allocations: 264.1 kB / 1.128 GB, free: 28.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.8615, allocations: 142.5 kB / 1.129 GB, free: 28.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.8615, allocations: 3.875 kB / 1.129 GB, free: 28.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005975/0.8621, allocations: 415.4 kB / 1.129 GB, free: 28.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.8622, allocations: 37.08 kB / 1.129 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.8622, allocations: 10.36 kB / 1.129 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.8622, allocations: 7.656 kB / 1.129 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.8624, allocations: 69 kB / 1.129 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.8624, allocations: 18.36 kB / 1.129 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.8627, allocations: 52.34 kB / 1.129 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.8627, allocations: 19.31 kB / 1.129 GB, free: 28.68 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.000136/0.8628, allocations: 162.2 kB / 1.129 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.8629, allocations: 30.25 kB / 1.129 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.422e-05/0.8629, allocations: 23.25 kB / 1.129 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.8629, allocations: 3.969 kB / 1.129 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.8629, allocations: 7.953 kB / 1.129 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.863, allocations: 3.906 kB / 1.129 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.8632, allocations: 265.5 kB / 1.13 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.8632, allocations: 3.875 kB / 1.13 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.8633, allocations: 18.52 kB / 1.13 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.8633, allocations: 3.844 kB / 1.13 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.8634, allocations: 12.59 kB / 1.13 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.8634, allocations: 256 / 1.13 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8634, allocations: 0 / 1.13 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007941/0.8642, allocations: 484.3 kB / 1.13 GB, free: 28.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.8642, allocations: 100.5 kB / 1.13 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.8643, allocations: 14.41 kB / 1.13 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.8645, allocations: 24.45 kB / 1.13 GB, free: 28.06 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.8645, allocations: 26.2 kB / 1.13 GB, free: 28.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.8646, allocations: 13.28 kB / 1.13 GB, free: 28.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001241/0.8647, allocations: 165.4 kB / 1.13 GB, free: 27.97 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8647, allocations: 0 / 1.13 GB, free: 27.97 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000392/0.8651, allocations: 94.45 kB / 1.131 GB, free: 27.96 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.0003666/0.8655, allocations: 182.2 kB / 1.131 GB, free: 27.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005356/0.866, allocations: 317.2 kB / 1.131 GB, free: 27.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.866, allocations: 3.938 kB / 1.131 GB, free: 27.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.8663, allocations: 111 kB / 1.131 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.8666, allocations: 50.75 kB / 1.131 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.8679, allocations: 0.8347 MB / 1.132 GB, free: 27.28 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.8682, allocations: 0.7431 MB / 1.133 GB, free: 26.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001217/0.8683, allocations: 50 kB / 1.133 GB, free: 26.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/0.8683, allocations: 22.94 kB / 1.133 GB, free: 26.52 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/0.8683, allocations: 0 / 1.133 GB, free: 26.52 MB / 0.698 GB Notification: Performance of Templates: time 0.006408/0.8748, allocations: 3.633 MB / 1.136 GB, free: 24.78 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)