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.407/1.407, allocations: 249.5 MB / 257 MB, free: 6.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 195.4 kB / 316.3 MB, free: 3.227 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.521/1.521, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.0008908/0.0008907, allocations: 85.55 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.011e-05/2.013e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2232, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7777/1.001, allocations: 136.8 MB / 1.019 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/1.001, allocations: 96.91 kB / 1.019 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01583/1.017, allocations: 5.324 MB / 1.024 GB, free: 12 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.703e-06/1.017, allocations: 0 / 1.024 GB, free: 12 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.085e-05/1.017, allocations: 4 kB / 1.024 GB, free: 12 MB / 0.6511 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.000855/1.018, allocations: 0.5312 MB / 1.025 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.018, allocations: 8.031 kB / 1.025 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.632e-05/1.018, allocations: 27.72 kB / 1.025 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/1.019, allocations: 295.6 kB / 1.025 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/1.019, allocations: 7.625 kB / 1.025 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/1.019, allocations: 15.98 kB / 1.025 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000155/1.019, allocations: 58.83 kB / 1.025 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/1.019, allocations: 175 kB / 1.025 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/1.019, allocations: 11.47 kB / 1.025 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/1.019, allocations: 3.984 kB / 1.025 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/1.019, allocations: 4 kB / 1.025 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/1.02, allocations: 0.8659 MB / 1.026 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/1.021, allocations: 170.8 kB / 1.026 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.046e-05/1.021, allocations: 64.64 kB / 1.026 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/1.021, allocations: 7.938 kB / 1.026 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002649/1.021, allocations: 177.5 kB / 1.027 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=23): time 1.773e-06/1.021, allocations: 3.938 kB / 1.027 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.0005339/1.021, allocations: 258.9 kB / 1.027 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/1.022, allocations: 117.7 kB / 1.027 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/1.022, allocations: 203.4 kB / 1.027 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/1.022, allocations: 29.7 kB / 1.027 GB, free: 9.051 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.1e-05/1.022, allocations: 143.6 kB / 1.027 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/1.022, allocations: 55.45 kB / 1.027 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/1.022, allocations: 0 / 1.027 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.022, allocations: 344.1 kB / 1.028 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/1.022, allocations: 49.38 kB / 1.028 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/1.022, allocations: 221.2 kB / 1.028 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/1.023, allocations: 85.52 kB / 1.028 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.023, allocations: 4 kB / 1.028 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004206/1.023, allocations: 280.7 kB / 1.028 GB, free: 7.949 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/1.023, allocations: 37.7 kB / 1.028 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.023, allocations: 4 kB / 1.028 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/1.023, allocations: 8.781 kB / 1.028 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/1.023, allocations: 83.66 kB / 1.028 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/1.023, allocations: 11.94 kB / 1.028 GB, free: 7.805 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/1.024, allocations: 35.73 kB / 1.028 GB, free: 7.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/1.024, allocations: 19.31 kB / 1.028 GB, free: 7.754 MB / 0.6511 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.0001168/1.024, allocations: 134.5 kB / 1.029 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004252/1.024, allocations: 243.9 kB / 1.029 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/1.024, allocations: 35.55 kB / 1.029 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.938e-05/1.024, allocations: 24.05 kB / 1.029 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.024, allocations: 4 kB / 1.029 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/1.024, allocations: 0 / 1.029 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/1.024, allocations: 3.984 kB / 1.029 GB, free: 7.363 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/1.025, allocations: 230.5 kB / 1.029 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.025, allocations: 7.984 kB / 1.029 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/1.025, allocations: 27.55 kB / 1.029 GB, free: 7.098 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.025, allocations: 0 / 1.029 GB, free: 7.098 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/1.025, allocations: 11.92 kB / 1.029 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/1.025, allocations: 7.938 kB / 1.029 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.025, allocations: 3.953 kB / 1.029 GB, free: 7.074 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005809/1.025, allocations: 380.1 kB / 1.03 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/1.025, allocations: 104.8 kB / 1.03 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/1.025, allocations: 11.44 kB / 1.03 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/1.026, allocations: 19.97 kB / 1.03 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/1.026, allocations: 23.22 kB / 1.03 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/1.026, allocations: 15.17 kB / 1.03 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000117/1.026, allocations: 152.8 kB / 1.03 GB, free: 6.441 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.61e-07/1.026, allocations: 0 / 1.03 GB, free: 6.441 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004666/1.026, allocations: 82.94 kB / 1.03 GB, free: 6.363 MB / 0.6511 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.001197/1.028, allocations: 1.139 MB / 1.031 GB, free: 5.277 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003447/1.028, allocations: 232 kB / 1.031 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.028, allocations: 0 / 1.031 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/1.028, allocations: 78.7 kB / 1.031 GB, free: 5.027 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/1.028, allocations: 59.97 kB / 1.031 GB, free: 4.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/1.03, allocations: 0.6579 MB / 1.032 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/1.03, allocations: 0.7485 MB / 1.033 GB, free: 3.555 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001509/1.03, allocations: 51.2 kB / 1.033 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/1.031, allocations: 72.59 kB / 1.033 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/1.031, allocations: 0 / 1.033 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/1.055, allocations: 5.447 MB / 1.038 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/1.055, allocations: 195.8 kB / 1.038 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.926, allocations: 0 / 1.038 GB, free: 13.91 MB / 0.6667 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)