Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.372/1.372, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001275/0.001275, allocations: 189.8 kB / 326.5 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.877/1.877, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008274/0.0008273, allocations: 88.62 kB / 0.6821 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003239, allocations: 10.14 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2262, allocations: 106.3 MB / 0.9002 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.3946, allocations: 136.6 MB / 1.034 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.3949, allocations: 99.88 kB / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01577/0.4107, allocations: 5.334 MB / 1.039 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.574e-06/0.4108, allocations: 0 / 1.039 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.4108, allocations: 4 kB / 1.039 GB, free: 1.531 MB / 0.6823 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.000979/0.4118, allocations: 0.5791 MB / 1.039 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.4118, allocations: 8.031 kB / 1.039 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.96e-05/0.4119, allocations: 46.55 kB / 1.039 GB, free: 0.832 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.4119, allocations: 27.72 kB / 1.04 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.4123, allocations: 301.8 kB / 1.04 GB, free: 480 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.4124, allocations: 20.23 kB / 1.04 GB, free: 460 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/0.4124, allocations: 16 kB / 1.04 GB, free: 444 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/0.4128, allocations: 212.3 kB / 1.04 GB, free: 208 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4128, allocations: 0 / 1.04 GB, free: 208 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.4129, allocations: 15.92 kB / 1.04 GB, free: 192 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.4129, allocations: 0 / 1.04 GB, free: 192 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003543/0.4132, allocations: 131.8 kB / 1.04 GB, free: 60 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.4144, allocations: 0.9073 MB / 1.041 GB, free: 15.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004936/0.4149, allocations: 239.8 kB / 1.041 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.4149, allocations: 4 kB / 1.041 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004289/0.4153, allocations: 220 kB / 1.041 GB, free: 14.58 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.4153, allocations: 4 kB / 1.042 GB, free: 14.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.000848/0.4162, allocations: 389 kB / 1.042 GB, free: 14.19 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.4163, allocations: 118.8 kB / 1.042 GB, free: 14.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.4165, allocations: 217.6 kB / 1.042 GB, free: 13.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.4165, allocations: 37.7 kB / 1.042 GB, free: 13.78 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.047e-05/0.4166, allocations: 136.6 kB / 1.042 GB, free: 13.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.936e-05/0.4167, allocations: 59.23 kB / 1.042 GB, free: 13.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/0.4167, allocations: 12 kB / 1.042 GB, free: 13.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.4168, allocations: 338.8 kB / 1.043 GB, free: 13.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.417, allocations: 88.75 kB / 1.043 GB, free: 13.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.4174, allocations: 259.8 kB / 1.043 GB, free: 12.81 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.4176, allocations: 141.6 kB / 1.043 GB, free: 12.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.4176, allocations: 4 kB / 1.043 GB, free: 12.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006961/0.4183, allocations: 418.9 kB / 1.044 GB, free: 12.24 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.4184, allocations: 33.7 kB / 1.044 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.4184, allocations: 11.95 kB / 1.044 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.4184, allocations: 8 kB / 1.044 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.4186, allocations: 71.83 kB / 1.044 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.4187, allocations: 12.52 kB / 1.044 GB, free: 12.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.4189, allocations: 55.61 kB / 1.044 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.4189, allocations: 20 kB / 1.044 GB, free: 12.02 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.0001466/0.4191, allocations: 160 kB / 1.044 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.4191, allocations: 23.72 kB / 1.044 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/0.4192, allocations: 33.64 kB / 1.044 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4192, allocations: 4.328 kB / 1.044 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4192, allocations: 4 kB / 1.044 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.4192, allocations: 0 / 1.044 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.4195, allocations: 269.3 kB / 1.044 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4195, allocations: 3.938 kB / 1.044 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.4196, allocations: 23.98 kB / 1.044 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4197, allocations: 0 / 1.044 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.4197, allocations: 11.98 kB / 1.044 GB, free: 11.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4197, allocations: 8 kB / 1.044 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.4197, allocations: 7.938 kB / 1.044 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008636/0.4206, allocations: 473.1 kB / 1.045 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.902e-05/0.4207, allocations: 104.7 kB / 1.045 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.4207, allocations: 16.03 kB / 1.045 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.4209, allocations: 19.98 kB / 1.045 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/0.421, allocations: 19.97 kB / 1.045 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.421, allocations: 12.33 kB / 1.045 GB, free: 10.74 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001531/0.4212, allocations: 166 kB / 1.045 GB, free: 10.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4212, allocations: 0 / 1.045 GB, free: 10.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004468/0.4216, allocations: 95.86 kB / 1.045 GB, free: 10.49 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.001657/0.4233, allocations: 1.224 MB / 1.046 GB, free: 9.227 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006399/0.4239, allocations: 311.1 kB / 1.047 GB, free: 8.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4239, allocations: 1.438 kB / 1.047 GB, free: 8.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.4242, allocations: 115.9 kB / 1.047 GB, free: 8.797 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.4246, allocations: 52.66 kB / 1.047 GB, free: 8.746 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003862/0.4285, allocations: 5.144 MB / 1.052 GB, free: 3.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.4288, allocations: 0.7485 MB / 1.053 GB, free: 2.656 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001746/0.429, allocations: 46.89 kB / 1.053 GB, free: 2.609 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.4291, allocations: 71.41 kB / 1.053 GB, free: 2.539 MB / 0.698 GB Notification: Performance of SimCode: time 1.393e-06/0.4292, allocations: 4 kB / 1.053 GB, free: 2.535 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4104/0.8395, allocations: 5.968 MB / 1.059 GB, free: 149.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/0.8398, allocations: 234 kB / 1.059 GB, free: 149.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.164/3.003, allocations: 3.656 kB / 1.059 GB, free: 149.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)