Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.729/2.729, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.002098/0.002097, allocations: 180.8 kB / 360.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001141/0.00114, allocations: 95.66 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.943e-05/2.936e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9065/0.9066, allocations: 115.3 MB / 0.9634 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.253/1.16, allocations: 142 MB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/1.16, allocations: 93.34 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02607/1.186, allocations: 5.322 MB / 1.107 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.713e-06/1.186, allocations: 7.938 kB / 1.107 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.393e-05/1.186, allocations: 4 kB / 1.107 GB, free: 9.074 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.00121/1.188, allocations: 0.5291 MB / 1.108 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/1.188, allocations: 8.031 kB / 1.108 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.217e-05/1.188, allocations: 35.7 kB / 1.108 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005918/1.188, allocations: 297.7 kB / 1.108 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/1.188, allocations: 7.984 kB / 1.108 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.345e-05/1.188, allocations: 12 kB / 1.108 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000249/1.189, allocations: 60.45 kB / 1.108 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/1.189, allocations: 180.1 kB / 1.108 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/1.189, allocations: 0 / 1.108 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/1.189, allocations: 0 / 1.108 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/1.189, allocations: 4 kB / 1.108 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/1.191, allocations: 0.8765 MB / 1.109 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004771/1.191, allocations: 167.9 kB / 1.109 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/1.191, allocations: 59.05 kB / 1.11 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/1.192, allocations: 4 kB / 1.11 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004354/1.192, allocations: 183.5 kB / 1.11 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 2.845e-06/1.192, allocations: 0 / 1.11 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.000877/1.193, allocations: 249.2 kB / 1.11 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.788e-05/1.193, allocations: 114.8 kB / 1.11 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/1.193, allocations: 204.4 kB / 1.11 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/1.193, allocations: 33.69 kB / 1.11 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/1.194, allocations: 144.5 kB / 1.11 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.142e-05/1.194, allocations: 63.23 kB / 1.11 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/1.194, allocations: 0 / 1.11 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001631/1.194, allocations: 338.8 kB / 1.111 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/1.194, allocations: 52.81 kB / 1.111 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/1.194, allocations: 223.9 kB / 1.111 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/1.195, allocations: 83.84 kB / 1.111 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.195, allocations: 0 / 1.111 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007486/1.195, allocations: 277.3 kB / 1.111 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.117e-05/1.195, allocations: 41.69 kB / 1.111 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/1.195, allocations: 6.938 kB / 1.111 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/1.195, allocations: 12 kB / 1.111 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/1.196, allocations: 67.8 kB / 1.112 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-05/1.196, allocations: 8.406 kB / 1.112 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004077/1.196, allocations: 47.58 kB / 1.112 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.473e-05/1.196, allocations: 23.98 kB / 1.112 GB, free: 4.348 MB / 0.7136 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.0001824/1.197, allocations: 136.9 kB / 1.112 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007849/1.197, allocations: 254.6 kB / 1.112 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/1.197, allocations: 23.72 kB / 1.112 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.739e-05/1.198, allocations: 33.77 kB / 1.112 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/1.198, allocations: 4 kB / 1.112 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.198, allocations: 0 / 1.112 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/1.198, allocations: 4 kB / 1.112 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/1.198, allocations: 241.9 kB / 1.112 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.198, allocations: 0 / 1.112 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/1.198, allocations: 19.98 kB / 1.112 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/1.198, allocations: 4 kB / 1.112 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/1.198, allocations: 7.984 kB / 1.112 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/1.198, allocations: 7.281 kB / 1.112 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.198, allocations: 3.953 kB / 1.112 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/1.199, allocations: 386.8 kB / 1.113 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/1.2, allocations: 104.8 kB / 1.113 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/1.2, allocations: 11.98 kB / 1.113 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/1.2, allocations: 11.98 kB / 1.113 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.979e-05/1.2, allocations: 23.97 kB / 1.113 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/1.2, allocations: 15.98 kB / 1.113 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001862/1.2, allocations: 144.5 kB / 1.113 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.535e-06/1.2, allocations: 0 / 1.113 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006192/1.201, allocations: 91.86 kB / 1.113 GB, free: 2.758 MB / 0.7136 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.001817/1.203, allocations: 1.131 MB / 1.114 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006309/1.203, allocations: 232.6 kB / 1.114 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.203, allocations: 4 kB / 1.114 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002526/1.204, allocations: 92.84 kB / 1.114 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005372/1.204, allocations: 44.53 kB / 1.115 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/1.207, allocations: 0.6686 MB / 1.115 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/1.207, allocations: 0.7407 MB / 1.116 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002645/1.207, allocations: 51.25 kB / 1.116 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/1.208, allocations: 71.42 kB / 1.116 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of SimCode: time 1.262e-06/1.208, allocations: 0 / 1.116 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04849/1.256, allocations: 5.455 MB / 1.121 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000351/1.257, allocations: 185.2 kB / 1.122 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.827/4.084, allocations: 2.125 kB / 1.122 GB, free: 10.12 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)