Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.704/1.704, allocations: 289.9 MB / 297.4 MB, free: 6.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001354/0.001355, allocations: 176.9 kB / 366.7 MB, free: 1.637 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.2 MB / 0.626 GB, free: 7.129 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008727/0.0008726, allocations: 89.48 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.481e-05/2.493e-05, allocations: 4 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8125/0.8125, allocations: 116.3 MB / 0.9734 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2319/1.044, allocations: 143.1 MB / 1.113 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/1.045, allocations: 92.47 kB / 1.113 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01673/1.061, allocations: 5.314 MB / 1.118 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.396e-06/1.062, allocations: 4 kB / 1.118 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.545e-05/1.062, allocations: 7.938 kB / 1.118 GB, free: 1.648 MB / 0.7136 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.0009904/1.063, allocations: 0.528 MB / 1.119 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/1.063, allocations: 8.031 kB / 1.119 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/1.063, allocations: 30.62 kB / 1.119 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/1.063, allocations: 305.9 kB / 1.119 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/1.063, allocations: 4 kB / 1.119 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/1.063, allocations: 15.98 kB / 1.119 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001975/1.064, allocations: 60.45 kB / 1.119 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/1.064, allocations: 177.7 kB / 1.12 GB, free: 432 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/1.064, allocations: 0 / 1.12 GB, free: 432 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/1.064, allocations: 3.984 kB / 1.12 GB, free: 428 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/1.064, allocations: 4 kB / 1.12 GB, free: 424 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/1.065, allocations: 0.8727 MB / 1.12 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/1.066, allocations: 171.9 kB / 1.121 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/1.066, allocations: 58.73 kB / 1.121 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/1.066, allocations: 3.938 kB / 1.121 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003064/1.066, allocations: 173.9 kB / 1.121 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=23): time 2.054e-06/1.066, allocations: 0 / 1.121 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.0006241/1.067, allocations: 255.4 kB / 1.121 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/1.067, allocations: 122.8 kB / 1.121 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/1.067, allocations: 204.4 kB / 1.121 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/1.067, allocations: 29.7 kB / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/1.067, allocations: 144.5 kB / 1.121 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.311e-05/1.067, allocations: 55.27 kB / 1.122 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.372e-05/1.067, allocations: 4 kB / 1.122 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.067, allocations: 338.8 kB / 1.122 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/1.068, allocations: 52.81 kB / 1.122 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/1.068, allocations: 226.5 kB / 1.122 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/1.068, allocations: 83.89 kB / 1.122 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.068, allocations: 0 / 1.122 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004898/1.069, allocations: 277.4 kB / 1.122 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.672e-05/1.069, allocations: 37.7 kB / 1.123 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/1.069, allocations: 8 kB / 1.123 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/1.069, allocations: 8 kB / 1.123 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/1.069, allocations: 67.83 kB / 1.123 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.791e-05/1.069, allocations: 15.89 kB / 1.123 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/1.069, allocations: 47.92 kB / 1.123 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/1.069, allocations: 20 kB / 1.123 GB, free: 12.93 MB / 0.7292 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.0001341/1.069, allocations: 131.1 kB / 1.123 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004823/1.07, allocations: 249.2 kB / 1.123 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/1.07, allocations: 31.7 kB / 1.123 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.573e-05/1.07, allocations: 25.83 kB / 1.123 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/1.07, allocations: 11.94 kB / 1.123 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.07, allocations: 0 / 1.123 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.07, allocations: 4 kB / 1.123 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/1.07, allocations: 237.9 kB / 1.123 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.07, allocations: 0 / 1.123 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/1.07, allocations: 19.98 kB / 1.123 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/1.071, allocations: 4 kB / 1.123 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/1.071, allocations: 9.297 kB / 1.123 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/1.071, allocations: 7.938 kB / 1.123 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.071, allocations: 0 / 1.123 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000657/1.071, allocations: 380.9 kB / 1.124 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.825e-05/1.071, allocations: 104.5 kB / 1.124 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.33e-05/1.071, allocations: 11.95 kB / 1.124 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/1.072, allocations: 19.97 kB / 1.124 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-05/1.072, allocations: 23.97 kB / 1.124 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/1.072, allocations: 19.92 kB / 1.124 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000162/1.072, allocations: 144.5 kB / 1.124 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/1.072, allocations: 3.938 kB / 1.124 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004739/1.072, allocations: 87.92 kB / 1.124 GB, free: 11.34 MB / 0.7292 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.001425/1.074, allocations: 1.135 MB / 1.125 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003982/1.074, allocations: 236 kB / 1.125 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.074, allocations: 0.5625 kB / 1.125 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/1.074, allocations: 83.92 kB / 1.126 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/1.075, allocations: 48.05 kB / 1.126 GB, free: 9.797 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/1.077, allocations: 0.6695 MB / 1.126 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/1.077, allocations: 0.7446 MB / 1.127 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000202/1.077, allocations: 47.11 kB / 1.127 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/1.078, allocations: 71.41 kB / 1.127 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of SimCode: time 7.92e-07/1.078, allocations: 7.938 kB / 1.127 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/1.109, allocations: 5.445 MB / 1.132 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002567/1.109, allocations: 190.2 kB / 1.133 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.138/3.247, allocations: 0 / 1.133 GB, free: 2.688 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)