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.622/1.622, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001298/0.001298, allocations: 176.8 kB / 361.4 MB, free: 6.852 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.609/1.609, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008883/0.0008883, allocations: 90.86 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.574e-05/1.576e-05, allocations: 4 kB / 0.8518 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6906/0.6906, allocations: 115.3 MB / 0.9644 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2028/0.8935, allocations: 142.1 MB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.8938, allocations: 100.5 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01572/0.9096, allocations: 5.311 MB / 1.108 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9096, allocations: 4 kB / 1.108 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.9096, allocations: 4 kB / 1.108 GB, free: 8.293 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.0008438/0.9105, allocations: 0.5204 MB / 1.109 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.9105, allocations: 8.031 kB / 1.109 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.617e-05/0.9106, allocations: 40.59 kB / 1.109 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.9111, allocations: 288.7 kB / 1.109 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.9111, allocations: 11.98 kB / 1.109 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/0.9111, allocations: 17.5 kB / 1.109 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001625/0.9113, allocations: 64.39 kB / 1.109 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.9116, allocations: 172.1 kB / 1.11 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.9116, allocations: 0 / 1.11 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.9116, allocations: 3.938 kB / 1.11 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.9116, allocations: 4 kB / 1.11 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.9127, allocations: 0.8767 MB / 1.11 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.913, allocations: 171.9 kB / 1.111 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.233e-05/0.9131, allocations: 62.67 kB / 1.111 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.9132, allocations: 0 / 1.111 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002881/0.9135, allocations: 178.9 kB / 1.111 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 1.373e-06/0.9135, allocations: 0 / 1.111 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.0005486/0.914, allocations: 250.5 kB / 1.111 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.9141, allocations: 110.8 kB / 1.111 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.9143, allocations: 208.3 kB / 1.111 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.9143, allocations: 29.7 kB / 1.111 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.9145, allocations: 144.6 kB / 1.112 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.9145, allocations: 63.39 kB / 1.112 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.9145, allocations: 0 / 1.112 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.9147, allocations: 338.8 kB / 1.112 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.9148, allocations: 48.81 kB / 1.112 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.915, allocations: 231.9 kB / 1.112 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.9151, allocations: 75.91 kB / 1.112 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.9151, allocations: 6.906 kB / 1.112 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004349/0.9156, allocations: 281.3 kB / 1.113 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.9156, allocations: 33.7 kB / 1.113 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.9157, allocations: 4 kB / 1.113 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.9157, allocations: 12 kB / 1.113 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.9159, allocations: 67.84 kB / 1.113 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.9159, allocations: 20.31 kB / 1.113 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.9162, allocations: 43.67 kB / 1.113 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.9162, allocations: 20 kB / 1.113 GB, free: 3.574 MB / 0.7136 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.0001151/0.9163, allocations: 137.1 kB / 1.113 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.9164, allocations: 31.61 kB / 1.113 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.801e-05/0.9164, allocations: 21.84 kB / 1.113 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.9164, allocations: 5.75 kB / 1.113 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.9164, allocations: 4 kB / 1.113 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.9165, allocations: 7.938 kB / 1.113 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.9167, allocations: 234 kB / 1.113 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9167, allocations: 0 / 1.113 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.9169, allocations: 27.97 kB / 1.113 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.9169, allocations: 0 / 1.113 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.9169, allocations: 11.98 kB / 1.113 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.9169, allocations: 4 kB / 1.113 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.9169, allocations: 4 kB / 1.113 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005826/0.9175, allocations: 380.8 kB / 1.114 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.9176, allocations: 104.9 kB / 1.114 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/0.9176, allocations: 5.438 kB / 1.114 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.9178, allocations: 27.97 kB / 1.114 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/0.9179, allocations: 23.92 kB / 1.114 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.9179, allocations: 11.98 kB / 1.114 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001179/0.918, allocations: 152.5 kB / 1.114 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.918, allocations: 5.812 kB / 1.114 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003955/0.9184, allocations: 75.94 kB / 1.114 GB, free: 2.234 MB / 0.7136 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.0003851/0.9188, allocations: 191.6 kB / 1.114 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003392/0.9192, allocations: 239.9 kB / 1.114 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.9192, allocations: 0 / 1.114 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.9193, allocations: 78 kB / 1.114 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.9197, allocations: 50.56 kB / 1.114 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.9209, allocations: 0.6038 MB / 1.115 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.9212, allocations: 0.7485 MB / 1.116 GB, free: 288 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001369/0.9214, allocations: 52.78 kB / 1.116 GB, free: 236 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.9214, allocations: 23.44 kB / 1.116 GB, free: 212 kB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.9214, allocations: 0 / 1.116 GB, free: 212 kB / 0.7136 GB Notification: Performance of Templates: time 0.007035/0.9285, allocations: 3.427 MB / 1.119 GB, free: 12.87 MB / 0.7292 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)