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.625/1.625, allocations: 288.4 MB / 304.3 MB, free: 8.105 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.0009296/0.0009295, allocations: 189.8 kB / 373 MB, free: 10.15 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.428/1.428, allocations: 205.4 MB / 0.6317 GB, free: 9.898 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.0008767/0.0008768, allocations: 108.1 kB / 0.7451 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003673, allocations: 16.3 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2203, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6879/0.9082, allocations: 142.9 MB / 1.12 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.9085, allocations: 97.72 kB / 1.12 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01431/0.9228, allocations: 5.347 MB / 1.126 GB, free: 31.78 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9229, allocations: 0 / 1.126 GB, free: 31.78 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.9229, allocations: 3.844 kB / 1.126 GB, free: 31.78 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.0008517/0.9237, allocations: 0.5657 MB / 1.126 GB, free: 31.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.9238, allocations: 11.69 kB / 1.126 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.299e-05/0.9239, allocations: 30.42 kB / 1.126 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.9242, allocations: 303.2 kB / 1.126 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.9242, allocations: 12.02 kB / 1.127 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.9243, allocations: 24.83 kB / 1.127 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.9246, allocations: 216.9 kB / 1.127 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.9247, allocations: 4.031 kB / 1.127 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.9247, allocations: 11.31 kB / 1.127 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.9247, allocations: 3.844 kB / 1.127 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003182/0.925, allocations: 127.3 kB / 1.127 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.926, allocations: 0.9138 MB / 1.128 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.9265, allocations: 235 kB / 1.128 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.9267, allocations: 85.69 kB / 1.128 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.9267, allocations: 11.16 kB / 1.128 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003777/0.9271, allocations: 213.2 kB / 1.128 GB, free: 30.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 1.573e-06/0.9271, allocations: 4 kB / 1.128 GB, free: 30.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0007692/0.9279, allocations: 391.8 kB / 1.129 GB, free: 29.99 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.928, allocations: 116.2 kB / 1.129 GB, free: 29.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.9281, allocations: 241.7 kB / 1.129 GB, free: 29.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.9282, allocations: 36.27 kB / 1.129 GB, free: 29.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.9283, allocations: 143 kB / 1.129 GB, free: 29.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.9283, allocations: 57.72 kB / 1.129 GB, free: 29.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/0.9283, allocations: 10.91 kB / 1.129 GB, free: 29.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.9285, allocations: 348.5 kB / 1.13 GB, free: 29.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.9287, allocations: 80.25 kB / 1.13 GB, free: 29.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.9289, allocations: 264.1 kB / 1.13 GB, free: 29.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/0.9294, allocations: 404 kB / 1.13 GB, free: 28.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.9294, allocations: 3.812 kB / 1.13 GB, free: 28.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000604/0.93, allocations: 414.5 kB / 1.131 GB, free: 28.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.93, allocations: 37.39 kB / 1.131 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.93, allocations: 3.875 kB / 1.131 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.9301, allocations: 11.62 kB / 1.131 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.9303, allocations: 68.86 kB / 1.131 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.9303, allocations: 11.62 kB / 1.131 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.9305, allocations: 59.19 kB / 1.131 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.9306, allocations: 19.03 kB / 1.131 GB, free: 28.58 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.0001408/0.9307, allocations: 162.5 kB / 1.131 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.9307, allocations: 30.34 kB / 1.131 GB, free: 28.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.9308, allocations: 20.19 kB / 1.131 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.9308, allocations: 3.844 kB / 1.131 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.9308, allocations: 0 / 1.131 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.9308, allocations: 11.75 kB / 1.131 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.9311, allocations: 263.5 kB / 1.131 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.9311, allocations: 3.875 kB / 1.131 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.9312, allocations: 21.17 kB / 1.131 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.9312, allocations: 3.781 kB / 1.131 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.9312, allocations: 9.984 kB / 1.131 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.9312, allocations: 3.938 kB / 1.131 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.9312, allocations: 0 / 1.131 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007422/0.932, allocations: 451.6 kB / 1.132 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.763e-05/0.9321, allocations: 108 kB / 1.132 GB, free: 28.01 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.9321, allocations: 14.89 kB / 1.132 GB, free: 28.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.9323, allocations: 18.19 kB / 1.132 GB, free: 28.01 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/0.9323, allocations: 29.41 kB / 1.132 GB, free: 28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.9324, allocations: 13.88 kB / 1.132 GB, free: 28 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001233/0.9325, allocations: 170.9 kB / 1.132 GB, free: 27.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9325, allocations: 0 / 1.132 GB, free: 27.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003755/0.9329, allocations: 99.36 kB / 1.132 GB, free: 27.89 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.0003255/0.9332, allocations: 180.5 kB / 1.132 GB, free: 27.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005231/0.9337, allocations: 325.1 kB / 1.133 GB, free: 27.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.9338, allocations: 0 / 1.133 GB, free: 27.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.934, allocations: 118.2 kB / 1.133 GB, free: 27.67 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.9344, allocations: 52.69 kB / 1.133 GB, free: 27.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.9356, allocations: 0.8202 MB / 1.134 GB, free: 27.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.9359, allocations: 0.739 MB / 1.134 GB, free: 26.37 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001193/0.936, allocations: 49.69 kB / 1.134 GB, free: 26.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.936, allocations: 22.66 kB / 1.135 GB, free: 26.34 MB / 0.698 GB Notification: Performance of SimCode: time 3.71e-07/0.936, allocations: 0 / 1.135 GB, free: 26.34 MB / 0.698 GB Notification: Performance of Templates: time 0.006434/0.9425, allocations: 3.731 MB / 1.138 GB, free: 24.56 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)