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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001094/0.001094, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008338/0.008338, allocations: 170.5 kB / 16.26 MB, free: 6.676 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.359/1.359, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.459/2.459, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003284, allocations: 15.98 kB / 0.873 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5148/0.5151, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002311/0.5175, allocations: 2.045 MB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.5188, allocations: 0.9827 MB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.378e-05/0.5189, allocations: 7.938 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.519, allocations: 43.75 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.5192, allocations: 67.41 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.5196, allocations: 147.7 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.5198, allocations: 270.7 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.618e-05/0.5199, allocations: 34.64 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.52, allocations: 99.5 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.5202, allocations: 107.5 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.5202, allocations: 19.94 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002314/0.5204, allocations: 99.89 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.934e-05/0.5205, allocations: 39.78 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.5206, allocations: 137.1 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.5209, allocations: 302.9 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.5209, allocations: 0 / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5209, allocations: 0 / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.5209, allocations: 0 / 1.027 GB, free: 11.44 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.0008061/0.5218, allocations: 0.5437 MB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.5218, allocations: 8.031 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.996e-05/0.5218, allocations: 50.72 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.232e-05/0.5219, allocations: 28.66 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.5223, allocations: 290.9 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.5223, allocations: 24.58 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.5224, allocations: 24.38 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.5227, allocations: 213.5 kB / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.5228, allocations: 0 / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.5228, allocations: 8 kB / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.5228, allocations: 0 / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003653/0.5232, allocations: 123.8 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008786/0.5241, allocations: 0.8723 MB / 1.03 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004831/0.5246, allocations: 215.9 kB / 1.03 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.5248, allocations: 86.55 kB / 1.03 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/0.5248, allocations: 4 kB / 1.03 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004036/0.5252, allocations: 215.2 kB / 1.03 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 1.653e-06/0.5252, allocations: 0 / 1.03 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0008546/0.5261, allocations: 381.1 kB / 1.03 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.5262, allocations: 118.7 kB / 1.031 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.5264, allocations: 242.5 kB / 1.031 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.5264, allocations: 41.7 kB / 1.031 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.5265, allocations: 144.5 kB / 1.031 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.5265, allocations: 63.62 kB / 1.031 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.5266, allocations: 45.62 kB / 1.031 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.5267, allocations: 342.8 kB / 1.031 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.5269, allocations: 84.75 kB / 1.031 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.5273, allocations: 275.1 kB / 1.032 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005446/0.5278, allocations: 392.5 kB / 1.032 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.5278, allocations: 4 kB / 1.032 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007286/0.5286, allocations: 414.8 kB / 1.032 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.5286, allocations: 37.7 kB / 1.033 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.5286, allocations: 4.25 kB / 1.033 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.5286, allocations: 8 kB / 1.033 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.5289, allocations: 72.12 kB / 1.033 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.5289, allocations: 23.86 kB / 1.033 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.5291, allocations: 47.67 kB / 1.033 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.5292, allocations: 20 kB / 1.033 GB, free: 5.551 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.0001292/0.5293, allocations: 160.4 kB / 1.033 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.5293, allocations: 31.72 kB / 1.033 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.789e-05/0.5294, allocations: 25.7 kB / 1.033 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.5294, allocations: 7.984 kB / 1.033 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5294, allocations: 3.938 kB / 1.033 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5294, allocations: 0 / 1.033 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.5297, allocations: 269.4 kB / 1.033 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5297, allocations: 0 / 1.033 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.5298, allocations: 19.98 kB / 1.033 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.5298, allocations: 4 kB / 1.033 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.5299, allocations: 11.98 kB / 1.033 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.5299, allocations: 0 / 1.033 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.5299, allocations: 3.938 kB / 1.033 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008416/0.5307, allocations: 448.8 kB / 1.034 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.5308, allocations: 100.8 kB / 1.034 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.5308, allocations: 12.03 kB / 1.034 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.531, allocations: 23.98 kB / 1.034 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.5311, allocations: 23.91 kB / 1.034 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.5311, allocations: 11.98 kB / 1.034 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001281/0.5312, allocations: 170 kB / 1.034 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5312, allocations: 0 / 1.034 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003743/0.5316, allocations: 79.98 kB / 1.034 GB, free: 4.078 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.001254/0.5329, allocations: 1.041 MB / 1.035 GB, free: 3.004 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000579/0.5335, allocations: 315.8 kB / 1.035 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5335, allocations: 0 / 1.035 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.5337, allocations: 103.8 kB / 1.035 GB, free: 2.582 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.5341, allocations: 67.19 kB / 1.035 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.5378, allocations: 3.164 MB / 1.039 GB, free: 15.1 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.5381, allocations: 0.7485 MB / 1.039 GB, free: 14.32 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001403/0.5382, allocations: 51.06 kB / 1.039 GB, free: 14.28 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.493e-05/0.5383, allocations: 67.42 kB / 1.039 GB, free: 14.21 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.5383, allocations: 0 / 1.039 GB, free: 14.21 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.155/1.693, allocations: 6.047 MB / 1.045 GB, free: 8.414 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002741/1.694, allocations: 252.2 kB / 1.046 GB, free: 8.156 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/4.136, allocations: 0 / 1.046 GB, free: 8.156 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)