Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.378/2.378, allocations: 390.5 MB / 398 MB, free: 10.97 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.00155/0.00155, allocations: 176.9 kB / 491.2 MB, free: 1.621 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.635/1.635, allocations: 221.5 MB / 0.7868 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009994/0.0009992, allocations: 100.5 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.11e-05/3.113e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2818, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8615/1.143, allocations: 154.1 MB / 1.363 GB, free: 17.26 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/1.144, allocations: 95.27 kB / 1.363 GB, free: 17.26 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0156/1.159, allocations: 5.444 MB / 1.368 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.284e-06/1.159, allocations: 2.578 kB / 1.368 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.036e-05/1.159, allocations: 3.969 kB / 1.368 GB, free: 32.56 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.0007185/1.16, allocations: 0.5327 MB / 1.369 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/1.16, allocations: 7.594 kB / 1.369 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/1.16, allocations: 34.05 kB / 1.369 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/1.16, allocations: 299.1 kB / 1.369 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/1.16, allocations: 3.875 kB / 1.369 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/1.161, allocations: 18.19 kB / 1.369 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001356/1.161, allocations: 57.31 kB / 1.369 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/1.161, allocations: 181.9 kB / 1.369 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/1.161, allocations: 3.984 kB / 1.369 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/1.161, allocations: 0 / 1.369 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/1.161, allocations: 7.844 kB / 1.369 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009315/1.162, allocations: 0.8788 MB / 1.37 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/1.162, allocations: 165 kB / 1.37 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.972e-05/1.162, allocations: 63.2 kB / 1.371 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/1.162, allocations: 3.844 kB / 1.371 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/1.162, allocations: 175.4 kB / 1.371 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/1.162, allocations: 4 kB / 1.371 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.0004792/1.163, allocations: 248.9 kB / 1.371 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/1.163, allocations: 114 kB / 1.371 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/1.163, allocations: 195.7 kB / 1.371 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/1.163, allocations: 33.05 kB / 1.371 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/1.163, allocations: 145.1 kB / 1.371 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/1.163, allocations: 61.14 kB / 1.371 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.119e-05/1.163, allocations: 0 / 1.371 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.163, allocations: 343.9 kB / 1.372 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.047e-05/1.164, allocations: 52.81 kB / 1.372 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/1.164, allocations: 224.4 kB / 1.372 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/1.164, allocations: 80.89 kB / 1.372 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/1.164, allocations: 7.781 kB / 1.372 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003539/1.164, allocations: 280.8 kB / 1.372 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/1.164, allocations: 40.03 kB / 1.372 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.164, allocations: 8.75 kB / 1.372 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/1.164, allocations: 11.62 kB / 1.372 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/1.164, allocations: 69.7 kB / 1.373 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/1.165, allocations: 18.12 kB / 1.373 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/1.165, allocations: 37.73 kB / 1.373 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/1.165, allocations: 21.73 kB / 1.373 GB, free: 29.76 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.0001293/1.165, allocations: 135 kB / 1.373 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003935/1.165, allocations: 251 kB / 1.373 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/1.165, allocations: 27.27 kB / 1.373 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.92e-05/1.165, allocations: 23.45 kB / 1.373 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/1.165, allocations: 0 / 1.373 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.165, allocations: 7.75 kB / 1.373 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/1.165, allocations: 3.094 kB / 1.373 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/1.166, allocations: 236.6 kB / 1.373 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.166, allocations: 2.578 kB / 1.373 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/1.166, allocations: 25.66 kB / 1.373 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/1.166, allocations: 3.906 kB / 1.373 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/1.166, allocations: 10.95 kB / 1.373 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/1.166, allocations: 2.844 kB / 1.373 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.166, allocations: 4 kB / 1.373 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005544/1.166, allocations: 394.2 kB / 1.374 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/1.166, allocations: 103.7 kB / 1.374 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/1.167, allocations: 10.38 kB / 1.374 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/1.167, allocations: 18.86 kB / 1.374 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/1.167, allocations: 24.78 kB / 1.374 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/1.167, allocations: 14.38 kB / 1.374 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001216/1.167, allocations: 153.8 kB / 1.374 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.167, allocations: 0 / 1.374 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004007/1.167, allocations: 79.3 kB / 1.374 GB, free: 29.04 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.0009997/1.168, allocations: 1.133 MB / 1.375 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002831/1.169, allocations: 234.2 kB / 1.375 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.169, allocations: 0 / 1.375 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/1.169, allocations: 81.94 kB / 1.375 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/1.169, allocations: 52.48 kB / 1.376 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/1.17, allocations: 0.652 MB / 1.376 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/1.171, allocations: 0.7477 MB / 1.377 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001259/1.171, allocations: 48.31 kB / 1.377 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.039e-05/1.171, allocations: 68.66 kB / 1.377 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/1.171, allocations: 0 / 1.377 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02737/1.198, allocations: 5.452 MB / 1.382 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/1.199, allocations: 193.4 kB / 1.383 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/3.195, allocations: 4 kB / 1.383 GB, free: 26.53 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)