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.703/1.703, allocations: 288.2 MB / 303.2 MB, free: 8.195 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.001098/0.001098, allocations: 185 kB / 371.8 MB, free: 10.28 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.708/1.708, allocations: 205.4 MB / 0.6305 GB, free: 10 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.000918/0.000918, allocations: 99.73 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000418/0.0004181, allocations: 15 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2451, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.779/1.024, allocations: 142.9 MB / 1.119 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/1.024, allocations: 100.4 kB / 1.119 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0149/1.039, allocations: 5.332 MB / 1.124 GB, free: 31.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.275e-06/1.039, allocations: 0 / 1.124 GB, free: 31.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.554e-05/1.039, allocations: 3.812 kB / 1.124 GB, free: 31.73 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.001072/1.04, allocations: 0.5738 MB / 1.125 GB, free: 31.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/1.04, allocations: 15.52 kB / 1.125 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.164e-05/1.041, allocations: 45.5 kB / 1.125 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.117e-05/1.041, allocations: 25.88 kB / 1.125 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/1.041, allocations: 303.6 kB / 1.125 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/1.041, allocations: 15.48 kB / 1.125 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/1.041, allocations: 20.83 kB / 1.125 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004099/1.042, allocations: 213 kB / 1.126 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/1.042, allocations: 7.875 kB / 1.126 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/1.042, allocations: 9 kB / 1.126 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/1.042, allocations: 3.844 kB / 1.126 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003453/1.042, allocations: 128.8 kB / 1.126 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/1.043, allocations: 0.9068 MB / 1.127 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004425/1.044, allocations: 231.5 kB / 1.127 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/1.044, allocations: 3.812 kB / 1.127 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003972/1.044, allocations: 218.5 kB / 1.127 GB, free: 30 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 2.816e-06/1.044, allocations: 7.984 kB / 1.127 GB, free: 29.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0008461/1.045, allocations: 390.5 kB / 1.127 GB, free: 29.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/1.045, allocations: 113 kB / 1.127 GB, free: 29.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/1.045, allocations: 216.4 kB / 1.128 GB, free: 29.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/1.045, allocations: 36.92 kB / 1.128 GB, free: 29.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.297e-05/1.045, allocations: 144.9 kB / 1.128 GB, free: 29.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.646e-05/1.045, allocations: 56.92 kB / 1.128 GB, free: 29.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.449e-05/1.045, allocations: 7.188 kB / 1.128 GB, free: 29.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.046, allocations: 342.4 kB / 1.128 GB, free: 29.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/1.046, allocations: 86.73 kB / 1.128 GB, free: 29.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/1.046, allocations: 266.4 kB / 1.129 GB, free: 29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/1.046, allocations: 143.8 kB / 1.129 GB, free: 28.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.046, allocations: 0 / 1.129 GB, free: 28.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006867/1.047, allocations: 413.8 kB / 1.129 GB, free: 28.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/1.047, allocations: 43.62 kB / 1.129 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.047, allocations: 11.75 kB / 1.129 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/1.047, allocations: 15.48 kB / 1.129 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/1.047, allocations: 66.42 kB / 1.129 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/1.047, allocations: 14.95 kB / 1.129 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/1.048, allocations: 48.66 kB / 1.129 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/1.048, allocations: 17.59 kB / 1.129 GB, free: 28.77 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.0001508/1.048, allocations: 166.5 kB / 1.129 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/1.048, allocations: 23.28 kB / 1.129 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.142e-05/1.048, allocations: 23.84 kB / 1.13 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/1.048, allocations: 8.219 kB / 1.13 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.048, allocations: 3.953 kB / 1.13 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/1.048, allocations: 3 kB / 1.13 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/1.048, allocations: 269.5 kB / 1.13 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.048, allocations: 3.938 kB / 1.13 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/1.048, allocations: 19.12 kB / 1.13 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/1.048, allocations: 3.844 kB / 1.13 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/1.048, allocations: 10.36 kB / 1.13 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.048, allocations: 4 kB / 1.13 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.048, allocations: 3.656 kB / 1.13 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007755/1.049, allocations: 473.8 kB / 1.13 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.706e-05/1.049, allocations: 106.6 kB / 1.13 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/1.049, allocations: 14.64 kB / 1.13 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/1.05, allocations: 23.97 kB / 1.13 GB, free: 28.15 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/1.05, allocations: 19.83 kB / 1.13 GB, free: 28.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/1.05, allocations: 11.3 kB / 1.13 GB, free: 28.15 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001247/1.05, allocations: 166.8 kB / 1.131 GB, free: 28.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.05, allocations: 3.875 kB / 1.131 GB, free: 28.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004393/1.05, allocations: 89.38 kB / 1.131 GB, free: 28.05 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.001392/1.052, allocations: 1.234 MB / 1.132 GB, free: 27.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005632/1.052, allocations: 306 kB / 1.132 GB, free: 27.14 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.052, allocations: 1.438 kB / 1.132 GB, free: 27.14 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000235/1.052, allocations: 118.6 kB / 1.132 GB, free: 27.13 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/1.053, allocations: 58.38 kB / 1.132 GB, free: 27.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/1.056, allocations: 5.151 MB / 1.137 GB, free: 22.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/1.057, allocations: 0.7392 MB / 1.138 GB, free: 21.47 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001964/1.057, allocations: 53.94 kB / 1.138 GB, free: 21.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/1.057, allocations: 71.88 kB / 1.138 GB, free: 21.43 MB / 0.698 GB Notification: Performance of SimCode: time 4.4e-07/1.057, allocations: 4 kB / 1.138 GB, free: 21.42 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/1.077, allocations: 5.983 MB / 1.144 GB, free: 18.67 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/1.078, allocations: 234.8 kB / 1.144 GB, free: 18.43 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.009/3.087, allocations: 3.938 kB / 1.144 GB, free: 18.43 MB / 0.698 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)