Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.512/2.512, allocations: 284.8 MB / 297.3 MB, free: 6.324 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001627/0.001626, allocations: 187.5 kB / 365.7 MB, free: 2.559 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.1 MB / 0.6241 GB, free: 8.172 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 95.61 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.719e-05/3.753e-05, allocations: 4 kB / 0.8574 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7861/0.7861, allocations: 115.2 MB / 0.97 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2545/1.041, allocations: 142.6 MB / 1.109 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/1.041, allocations: 97.69 kB / 1.109 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02586/1.067, allocations: 5.322 MB / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.324e-06/1.067, allocations: 0 / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.285e-05/1.067, allocations: 7.375 kB / 1.115 GB, free: 4.395 MB / 0.7136 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.001157/1.068, allocations: 0.5315 MB / 1.115 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.068, allocations: 8.031 kB / 1.115 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/1.068, allocations: 31.62 kB / 1.115 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000571/1.069, allocations: 293.7 kB / 1.115 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.572e-05/1.069, allocations: 16.23 kB / 1.115 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.459e-05/1.069, allocations: 20 kB / 1.115 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004547/1.07, allocations: 180.4 kB / 1.116 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/1.07, allocations: 3.938 kB / 1.116 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/1.07, allocations: 8 kB / 1.116 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/1.07, allocations: 0 / 1.116 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/1.07, allocations: 75.91 kB / 1.116 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/1.072, allocations: 0.9151 MB / 1.117 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/1.072, allocations: 179.9 kB / 1.117 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/1.072, allocations: 70.67 kB / 1.117 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/1.072, allocations: 0 / 1.117 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004528/1.073, allocations: 189.5 kB / 1.117 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 4.649e-06/1.073, allocations: 8 kB / 1.117 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.0007623/1.074, allocations: 247.1 kB / 1.117 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.976e-05/1.074, allocations: 118.8 kB / 1.117 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/1.074, allocations: 214.8 kB / 1.118 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.798e-05/1.074, allocations: 41.69 kB / 1.118 GB, free: 1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/1.074, allocations: 140.6 kB / 1.118 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.662e-05/1.074, allocations: 67.23 kB / 1.118 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/1.075, allocations: 4 kB / 1.118 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.075, allocations: 342.8 kB / 1.118 GB, free: 456 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/1.075, allocations: 58.69 kB / 1.118 GB, free: 396 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/1.075, allocations: 238.9 kB / 1.118 GB, free: 68 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/1.076, allocations: 113.6 kB / 1.119 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/1.076, allocations: 7.938 kB / 1.119 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008292/1.076, allocations: 359.1 kB / 1.119 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.947e-05/1.077, allocations: 33.7 kB / 1.119 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/1.077, allocations: 7.953 kB / 1.119 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/1.077, allocations: 18.67 kB / 1.119 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/1.077, allocations: 63.91 kB / 1.119 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/1.077, allocations: 11.94 kB / 1.119 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004229/1.077, allocations: 55.73 kB / 1.119 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.241e-05/1.078, allocations: 22.19 kB / 1.119 GB, free: 15.37 MB / 0.7292 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 () * 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.0001767/1.078, allocations: 149.1 kB / 1.119 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.738e-05/1.078, allocations: 23.72 kB / 1.119 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.747e-05/1.078, allocations: 25.83 kB / 1.119 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/1.078, allocations: 3.953 kB / 1.119 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.078, allocations: 4 kB / 1.119 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/1.078, allocations: 4 kB / 1.119 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/1.078, allocations: 273.3 kB / 1.12 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.078, allocations: 4 kB / 1.12 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/1.079, allocations: 23.55 kB / 1.12 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/1.079, allocations: 0 / 1.12 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/1.079, allocations: 7.984 kB / 1.12 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/1.079, allocations: 4 kB / 1.12 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/1.079, allocations: 7.891 kB / 1.12 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/1.08, allocations: 388.2 kB / 1.12 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.792e-05/1.08, allocations: 104.8 kB / 1.12 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.422e-05/1.08, allocations: 11.98 kB / 1.12 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/1.08, allocations: 21.42 kB / 1.12 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/1.08, allocations: 23.97 kB / 1.12 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/1.08, allocations: 15.98 kB / 1.12 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002321/1.081, allocations: 163.1 kB / 1.12 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.655e-06/1.081, allocations: 3.938 kB / 1.12 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005945/1.081, allocations: 99.77 kB / 1.12 GB, free: 13.93 MB / 0.7292 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) * 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.0004877/1.082, allocations: 177 kB / 1.121 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006238/1.082, allocations: 256.3 kB / 1.121 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.082, allocations: 4 kB / 1.121 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002598/1.083, allocations: 87.91 kB / 1.121 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/1.083, allocations: 54.12 kB / 1.121 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/1.085, allocations: 0.6017 MB / 1.122 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/1.086, allocations: 0.7485 MB / 1.122 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002495/1.086, allocations: 51.91 kB / 1.122 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.032e-05/1.086, allocations: 23.44 kB / 1.122 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of SimCode: time 3.076e-06/1.086, allocations: 0 / 1.122 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of Templates: time 0.01271/1.099, allocations: 3.684 MB / 1.126 GB, free: 8.305 MB / 0.7292 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)