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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.616/1.616, allocations: 285.4 MB / 298 MB, free: 5.98 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.001099/0.001099, allocations: 172.9 kB / 366.4 MB, free: 2.07 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.673/1.673, allocations: 205.1 MB / 0.6248 GB, free: 7.715 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.00109/0.00109, allocations: 98.55 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.643e-05/3.645e-05, allocations: 4 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7363/0.7364, allocations: 115.3 MB / 0.971 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2115/0.948, allocations: 142.8 MB / 1.11 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.9483, allocations: 97.14 kB / 1.111 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01599/0.9643, allocations: 5.319 MB / 1.116 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9643, allocations: 0 / 1.116 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.9644, allocations: 4 kB / 1.116 GB, free: 3.562 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.0008531/0.9652, allocations: 0.5357 MB / 1.116 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.9653, allocations: 8.031 kB / 1.116 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.447e-05/0.9654, allocations: 46.55 kB / 1.116 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.938e-05/0.9654, allocations: 27.72 kB / 1.116 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.9659, allocations: 301.7 kB / 1.117 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.9659, allocations: 12.23 kB / 1.117 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/0.966, allocations: 27.98 kB / 1.117 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.9663, allocations: 178.4 kB / 1.117 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.9663, allocations: 0 / 1.117 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.9663, allocations: 15.98 kB / 1.117 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.9663, allocations: 0 / 1.117 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.9665, allocations: 71.92 kB / 1.117 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.9677, allocations: 0.9111 MB / 1.118 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.968, allocations: 187.9 kB / 1.118 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.9681, allocations: 62.73 kB / 1.118 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.9682, allocations: 1.969 kB / 1.118 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003067/0.9685, allocations: 187.7 kB / 1.118 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 1.673e-06/0.9685, allocations: 4 kB / 1.118 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.0004858/0.969, allocations: 253.5 kB / 1.118 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.631e-05/0.9691, allocations: 114.8 kB / 1.119 GB, free: 376 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.9693, allocations: 222.7 kB / 1.119 GB, free: 144 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.9693, allocations: 41.7 kB / 1.119 GB, free: 96 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.9695, allocations: 144.6 kB / 1.119 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.914e-05/0.9695, allocations: 63.25 kB / 1.119 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.9695, allocations: 4 kB / 1.119 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.9697, allocations: 338.8 kB / 1.119 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.9698, allocations: 56.81 kB / 1.119 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.9701, allocations: 235.2 kB / 1.12 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.9702, allocations: 113.5 kB / 1.12 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.9703, allocations: 7.562 kB / 1.12 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005054/0.9708, allocations: 356.8 kB / 1.12 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.9708, allocations: 37.69 kB / 1.12 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.9708, allocations: 4 kB / 1.12 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.9709, allocations: 16.77 kB / 1.12 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.9711, allocations: 71.84 kB / 1.12 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.9711, allocations: 11.98 kB / 1.12 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.9714, allocations: 51.58 kB / 1.12 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.9714, allocations: 20 kB / 1.12 GB, free: 14.47 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.0001393/0.9715, allocations: 143 kB / 1.12 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.9716, allocations: 23.72 kB / 1.12 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.361e-05/0.9716, allocations: 25.83 kB / 1.121 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.9717, allocations: 7.938 kB / 1.121 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.9717, allocations: 4 kB / 1.121 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.9717, allocations: 3.984 kB / 1.121 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.972, allocations: 271.1 kB / 1.121 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.972, allocations: 4 kB / 1.121 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.9721, allocations: 31.92 kB / 1.121 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.9721, allocations: 0 / 1.121 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.9722, allocations: 7.984 kB / 1.121 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.9722, allocations: 4 kB / 1.121 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9722, allocations: 3.953 kB / 1.121 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.9728, allocations: 389.4 kB / 1.121 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.9729, allocations: 100.8 kB / 1.121 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.9729, allocations: 15.98 kB / 1.121 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.9731, allocations: 15.98 kB / 1.121 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.73e-05/0.9732, allocations: 27.91 kB / 1.121 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.9732, allocations: 17.36 kB / 1.121 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000142/0.9734, allocations: 163.1 kB / 1.122 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9734, allocations: 4 kB / 1.122 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004106/0.9738, allocations: 99.83 kB / 1.122 GB, free: 13.03 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.001237/0.975, allocations: 1.141 MB / 1.123 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004095/0.9755, allocations: 257 kB / 1.123 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9755, allocations: 0 / 1.123 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.9756, allocations: 90.17 kB / 1.123 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.976, allocations: 55.41 kB / 1.123 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.9776, allocations: 0.6826 MB / 1.124 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.978, allocations: 0.7484 MB / 1.125 GB, free: 9.965 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.9781, allocations: 44.55 kB / 1.125 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.9782, allocations: 71.41 kB / 1.125 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.9782, allocations: 0 / 1.125 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.9964, allocations: 6.063 MB / 1.131 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/0.9966, allocations: 208.7 kB / 1.131 GB, free: 3.867 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/3.228, allocations: 0 / 1.131 GB, free: 3.867 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)