Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.307/2.307, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 164.9 kB / 487.4 MB, free: 5.059 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 221.5 MB / 0.7824 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009646/0.0009647, allocations: 96.94 kB / 0.9219 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.181e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2653, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8415/1.107, allocations: 153.3 MB / 1.356 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/1.107, allocations: 98.8 kB / 1.356 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01507/1.122, allocations: 5.435 MB / 1.361 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.92e-07/1.122, allocations: 0 / 1.361 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.758e-06/1.122, allocations: 3.844 kB / 1.361 GB, free: 33.45 MB / 0.8386 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.0007194/1.123, allocations: 0.5264 MB / 1.362 GB, free: 33 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/1.123, allocations: 15.53 kB / 1.362 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.751e-05/1.123, allocations: 37.06 kB / 1.362 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/1.124, allocations: 295.5 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/1.124, allocations: 9.625 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/1.124, allocations: 19.36 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001389/1.124, allocations: 61.94 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/1.124, allocations: 173 kB / 1.362 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/1.124, allocations: 3.562 kB / 1.362 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/1.124, allocations: 3.844 kB / 1.362 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/1.124, allocations: 3.844 kB / 1.362 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000975/1.125, allocations: 0.8729 MB / 1.363 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/1.125, allocations: 164.7 kB / 1.363 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.106e-05/1.125, allocations: 60.95 kB / 1.363 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/1.125, allocations: 11.78 kB / 1.363 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/1.126, allocations: 175.8 kB / 1.364 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/1.126, allocations: 0 / 1.364 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.0004664/1.126, allocations: 247 kB / 1.364 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/1.126, allocations: 125.2 kB / 1.364 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/1.126, allocations: 195.8 kB / 1.364 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/1.126, allocations: 32.67 kB / 1.364 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/1.126, allocations: 143.6 kB / 1.364 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/1.127, allocations: 62.88 kB / 1.364 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/1.127, allocations: 0 / 1.364 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.127, allocations: 339.3 kB / 1.365 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.95e-05/1.127, allocations: 48.75 kB / 1.365 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/1.127, allocations: 232.1 kB / 1.365 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/1.127, allocations: 82.7 kB / 1.365 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.127, allocations: 3.844 kB / 1.365 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003541/1.127, allocations: 279.4 kB / 1.365 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/1.127, allocations: 38.77 kB / 1.365 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.127, allocations: 10.77 kB / 1.365 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/1.127, allocations: 11.64 kB / 1.365 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/1.128, allocations: 71.59 kB / 1.365 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/1.128, allocations: 15.83 kB / 1.365 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/1.128, allocations: 44.84 kB / 1.365 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/1.128, allocations: 19.16 kB / 1.365 GB, free: 30.65 MB / 0.8386 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.0001075/1.128, allocations: 134.4 kB / 1.366 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003597/1.128, allocations: 251.5 kB / 1.366 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/1.128, allocations: 31.27 kB / 1.366 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.205e-05/1.128, allocations: 22.81 kB / 1.366 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/1.129, allocations: 3.844 kB / 1.366 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/1.129, allocations: 0 / 1.366 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/1.129, allocations: 3.375 kB / 1.366 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/1.129, allocations: 233.1 kB / 1.366 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.129, allocations: 3.938 kB / 1.366 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/1.129, allocations: 25.69 kB / 1.366 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/1.129, allocations: 4 kB / 1.366 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/1.129, allocations: 6.938 kB / 1.366 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/1.129, allocations: 7.797 kB / 1.366 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.129, allocations: 3.422 kB / 1.366 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/1.129, allocations: 392.8 kB / 1.367 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/1.129, allocations: 107.7 kB / 1.367 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/1.13, allocations: 6.219 kB / 1.367 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/1.13, allocations: 17.41 kB / 1.367 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/1.13, allocations: 19.81 kB / 1.367 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/1.13, allocations: 14.27 kB / 1.367 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001004/1.13, allocations: 149.5 kB / 1.367 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.51e-07/1.13, allocations: 0 / 1.367 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003524/1.13, allocations: 83.47 kB / 1.367 GB, free: 29.94 MB / 0.8386 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.001051/1.131, allocations: 1.131 MB / 1.368 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000285/1.132, allocations: 240.5 kB / 1.368 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.132, allocations: 3.812 kB / 1.368 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/1.132, allocations: 80.91 kB / 1.368 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/1.132, allocations: 45.34 kB / 1.368 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/1.133, allocations: 0.6585 MB / 1.369 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/1.134, allocations: 0.7493 MB / 1.37 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001196/1.134, allocations: 48.23 kB / 1.37 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.992e-05/1.134, allocations: 66.66 kB / 1.37 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.134, allocations: 0 / 1.37 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/1.163, allocations: 5.455 MB / 1.375 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/1.164, allocations: 181.6 kB / 1.375 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/3.096, allocations: 0 / 1.375 GB, free: 27.43 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)