Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_10_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.476/2.476, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 59.91 kB / 0.8689 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5393/0.5406, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.003894/0.5446, allocations: 2.407 MB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.5462, allocations: 0.9864 MB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.5463, allocations: 7.938 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.5466, allocations: 47.75 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.5469, allocations: 71.39 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.5473, allocations: 143.7 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.5476, allocations: 294.7 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.5477, allocations: 30.64 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.5479, allocations: 115.5 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.5481, allocations: 107.5 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.5481, allocations: 16 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000264/0.5484, allocations: 119.8 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.811e-05/0.5484, allocations: 51.77 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.5486, allocations: 111.5 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.5489, allocations: 318.9 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.549, allocations: 0 / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.262e-06/0.549, allocations: 0 / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.549, allocations: 4 kB / 1.022 GB, free: 13.85 MB / 0.7794 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.0009913/0.55, allocations: 0.5904 MB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.55, allocations: 12.03 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.279e-05/0.5501, allocations: 42.73 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.701e-05/0.5502, allocations: 28.59 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.5506, allocations: 298.9 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.5506, allocations: 12.61 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.5506, allocations: 24.36 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/0.5511, allocations: 201.6 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.5511, allocations: 7.938 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.5511, allocations: 7.984 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.5511, allocations: 4 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.5515, allocations: 103.8 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.5525, allocations: 0.8723 MB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/0.553, allocations: 207.8 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.5532, allocations: 78.61 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.5532, allocations: 7.938 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004419/0.5537, allocations: 199.5 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 2.264e-06/0.5537, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0008514/0.5545, allocations: 357 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.448e-05/0.5546, allocations: 126.7 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.5548, allocations: 246.5 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.5549, allocations: 33.7 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.107e-05/0.555, allocations: 140.5 kB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.213e-05/0.555, allocations: 59.25 kB / 1.025 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.5551, allocations: 78 kB / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.5553, allocations: 338.8 kB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.5555, allocations: 84.75 kB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.5558, allocations: 247.2 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005518/0.5564, allocations: 396.7 kB / 1.026 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.5564, allocations: 0 / 1.026 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007054/0.5571, allocations: 402.3 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.5571, allocations: 34.52 kB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5571, allocations: 4 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.5572, allocations: 12.25 kB / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.5574, allocations: 68.22 kB / 1.027 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.5574, allocations: 23.86 kB / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.5577, allocations: 43.67 kB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.5577, allocations: 16 kB / 1.027 GB, free: 8.02 MB / 0.7794 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 (TBouSte.QAve_flow,$PRE.TBouSte.QAve_flow,TBouSte.UOld,$PRE.TBouSte.UOld,TBouSte.port.T,$PRE.TBouSte.port.T,TBouSte.iSam,$PRE.TBouSte.iSam,$whenCondition4,TBouCon.QAve_flow,$PRE.TBouCon.QAve_flow,TBouCon.UOld,$PRE.TBouCon.UOld,TBouCon.port.T,$PRE.TBouCon.port.T,TBouCon.iSam,$PRE.TBouCon.iSam,$whenCondition3,TBouPul.QAve_flow,$PRE.TBouPul.QAve_flow,TBouPul.UOld,$PRE.TBouPul.UOld,TBouPul.port.T,$PRE.TBouPul.port.T,TBouPul.iSam,$PRE.TBouPul.iSam,$whenCondition1,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.5578, allocations: 164.4 kB / 1.027 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.5579, allocations: 35.7 kB / 1.027 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.478e-05/0.5579, allocations: 17.72 kB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.558, allocations: 7.984 kB / 1.027 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.558, allocations: 3.938 kB / 1.027 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.558, allocations: 0 / 1.027 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.5582, allocations: 265.4 kB / 1.027 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5583, allocations: 0 / 1.027 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.5584, allocations: 19.98 kB / 1.027 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.5584, allocations: 4 kB / 1.027 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.5584, allocations: 11.98 kB / 1.027 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5584, allocations: 0 / 1.027 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.5584, allocations: 3.938 kB / 1.027 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008258/0.5593, allocations: 426 kB / 1.028 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.5593, allocations: 100.8 kB / 1.028 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.022e-05/0.5594, allocations: 12.03 kB / 1.028 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.5596, allocations: 11.98 kB / 1.028 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.411e-05/0.5596, allocations: 31.98 kB / 1.028 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.5597, allocations: 11.98 kB / 1.028 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001305/0.5598, allocations: 174 kB / 1.028 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5598, allocations: 0 / 1.028 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000387/0.5602, allocations: 76 kB / 1.028 GB, free: 6.574 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001276/0.5615, allocations: 1.018 MB / 1.029 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005925/0.5621, allocations: 295.5 kB / 1.029 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5621, allocations: 0 / 1.029 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.5624, allocations: 103.9 kB / 1.03 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.5627, allocations: 74.81 kB / 1.03 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.5665, allocations: 3.063 MB / 1.033 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.5668, allocations: 0.7407 MB / 1.033 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001497/0.5669, allocations: 58.86 kB / 1.033 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.512e-05/0.567, allocations: 67.42 kB / 1.033 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.567, allocations: 0 / 1.033 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04456/0.6116, allocations: 6.333 MB / 1.04 GB, free: 10.77 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/0.6119, allocations: 253.5 kB / 1.04 GB, free: 10.51 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/3.09, allocations: 5.406 kB / 1.04 GB, free: 10.51 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)