Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.651/1.651, allocations: 297.8 MB / 313.8 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009462/0.0009461, allocations: 176.5 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.2 MB / 0.6626 GB, free: 4.184 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007702/0.0007701, allocations: 102.1 kB / 0.7808 GB, free: 50.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004116/0.0004116, allocations: 12.78 kB / 0.9088 GB, free: 2.812 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6077/0.6081, allocations: 120.3 MB / 1.026 GB, free: 56 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.195/0.8032, allocations: 146 MB / 1.169 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.8035, allocations: 98.14 kB / 1.169 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01771/0.8212, allocations: 5.469 MB / 1.174 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8213, allocations: 0 / 1.174 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.8213, allocations: 4 kB / 1.174 GB, free: 10.28 MB / 0.7448 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.001032/0.8223, allocations: 0.5661 MB / 1.175 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.8224, allocations: 8.031 kB / 1.175 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.967e-05/0.8225, allocations: 32.59 kB / 1.175 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.8229, allocations: 310.8 kB / 1.175 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.8229, allocations: 12.61 kB / 1.175 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.823, allocations: 20.38 kB / 1.175 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.8234, allocations: 208.9 kB / 1.175 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.8234, allocations: 4.125 kB / 1.175 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.8234, allocations: 15.92 kB / 1.175 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.8234, allocations: 0 / 1.175 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003429/0.8238, allocations: 127.8 kB / 1.176 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.8249, allocations: 0.9089 MB / 1.177 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004794/0.8254, allocations: 232.8 kB / 1.177 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.8256, allocations: 98.3 kB / 1.177 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.8256, allocations: 0 / 1.177 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000413/0.8261, allocations: 210.8 kB / 1.177 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.8261, allocations: 0 / 1.177 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.0008608/0.8269, allocations: 397 kB / 1.177 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.827, allocations: 110.8 kB / 1.178 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.8273, allocations: 248.1 kB / 1.178 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.8273, allocations: 37.7 kB / 1.178 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.428e-05/0.8274, allocations: 140.6 kB / 1.178 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.8275, allocations: 71.12 kB / 1.178 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/0.8275, allocations: 4 kB / 1.178 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.8276, allocations: 346.7 kB / 1.178 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.8278, allocations: 80.77 kB / 1.178 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/0.8282, allocations: 267.9 kB / 1.179 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005807/0.8288, allocations: 401.3 kB / 1.179 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.8288, allocations: 0 / 1.179 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007352/0.8295, allocations: 412.3 kB / 1.179 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/0.8296, allocations: 37.7 kB / 1.179 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.8296, allocations: 7.984 kB / 1.179 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.8296, allocations: 8.875 kB / 1.179 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.8298, allocations: 72.19 kB / 1.18 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.8299, allocations: 11.94 kB / 1.18 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.8301, allocations: 51.61 kB / 1.18 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.8301, allocations: 25.3 kB / 1.18 GB, free: 4.402 MB / 0.7448 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.0001481/0.8303, allocations: 158.2 kB / 1.18 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.8304, allocations: 31.72 kB / 1.18 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.8304, allocations: 21.7 kB / 1.18 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.8304, allocations: 4 kB / 1.18 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.8304, allocations: 1.375 kB / 1.18 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.8304, allocations: 7.922 kB / 1.18 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.8307, allocations: 277.3 kB / 1.18 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.8307, allocations: 0 / 1.18 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.8309, allocations: 23.92 kB / 1.18 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.8309, allocations: 4 kB / 1.18 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.8309, allocations: 15.98 kB / 1.18 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.8309, allocations: 0 / 1.18 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8309, allocations: 0 / 1.18 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008518/0.8318, allocations: 457.1 kB / 1.181 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.967e-05/0.8319, allocations: 96.86 kB / 1.181 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.8319, allocations: 8 kB / 1.181 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.8321, allocations: 27.97 kB / 1.181 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/0.8322, allocations: 27.91 kB / 1.181 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.8322, allocations: 11.98 kB / 1.181 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001427/0.8323, allocations: 166 kB / 1.181 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8324, allocations: 0 / 1.181 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004358/0.8328, allocations: 95.84 kB / 1.181 GB, free: 2.902 MB / 0.7448 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.0003829/0.8332, allocations: 181.8 kB / 1.181 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005907/0.8338, allocations: 317.5 kB / 1.181 GB, free: 2.402 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.8338, allocations: 0.5625 kB / 1.181 GB, free: 2.402 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002498/0.8341, allocations: 111.9 kB / 1.182 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.8344, allocations: 58.86 kB / 1.182 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.836, allocations: 0.8163 MB / 1.182 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.8362, allocations: 0.7407 MB / 1.183 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001552/0.8364, allocations: 55.61 kB / 1.183 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.8365, allocations: 23.44 kB / 1.183 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.8365, allocations: 0 / 1.183 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of Templates: time 0.007768/0.8442, allocations: 3.724 MB / 1.187 GB, free: 12.98 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)