Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.874/1.874, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.001232/0.001232, allocations: 182.2 kB / 371.6 MB, free: 3.371 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.783/1.783, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0009417/0.0009418, allocations: 88.38 kB / 0.745 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.745e-05/3.747e-05, allocations: 4 kB / 0.8664 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3019, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8466/1.149, allocations: 147.5 MB / 1.124 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/1.149, allocations: 110.4 kB / 1.124 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0442/1.193, allocations: 17.99 MB / 1.142 GB, free: 28.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.705e-06/1.193, allocations: 0.5625 kB / 1.142 GB, free: 28.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.144e-05/1.193, allocations: 8 kB / 1.142 GB, free: 28.21 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007049/1.194, allocations: 0.5703 MB / 1.142 GB, free: 27.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/1.194, allocations: 16.64 kB / 1.142 GB, free: 27.64 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.134e-05/1.194, allocations: 53.47 kB / 1.142 GB, free: 27.6 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.901e-05/1.194, allocations: 45.69 kB / 1.142 GB, free: 27.56 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/1.195, allocations: 357.7 kB / 1.143 GB, free: 27.24 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/1.195, allocations: 14.91 kB / 1.143 GB, free: 27.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/1.195, allocations: 26.3 kB / 1.143 GB, free: 27.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/1.195, allocations: 190.2 kB / 1.143 GB, free: 27.1 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/1.195, allocations: 0.7969 kB / 1.143 GB, free: 27.1 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/1.195, allocations: 11.12 kB / 1.143 GB, free: 27.1 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/1.195, allocations: 4 kB / 1.143 GB, free: 27.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/1.195, allocations: 136.5 kB / 1.143 GB, free: 27.01 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/1.196, allocations: 0.8755 MB / 1.144 GB, free: 26.39 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/1.197, allocations: 140.2 kB / 1.144 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/1.197, allocations: 98.98 kB / 1.144 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/1.197, allocations: 11.94 kB / 1.144 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/1.197, allocations: 30.56 kB / 1.144 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 2.094e-06/1.197, allocations: 0 / 1.144 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0002876/1.197, allocations: 167.9 kB / 1.144 GB, free: 26.05 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/1.197, allocations: 52.06 kB / 1.144 GB, free: 25.99 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/1.198, allocations: 372.1 kB / 1.145 GB, free: 25.72 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/1.198, allocations: 25.7 kB / 1.145 GB, free: 25.69 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/1.198, allocations: 214.8 kB / 1.145 GB, free: 25.56 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/1.198, allocations: 66.08 kB / 1.145 GB, free: 25.51 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/1.198, allocations: 0 / 1.145 GB, free: 25.51 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/1.198, allocations: 352.2 kB / 1.145 GB, free: 25.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.871e-05/1.198, allocations: 40.59 kB / 1.145 GB, free: 25.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-05/1.198, allocations: 46.62 kB / 1.145 GB, free: 25.13 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.731e-05/1.198, allocations: 55.28 kB / 1.146 GB, free: 25.11 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.198, allocations: 4 kB / 1.146 GB, free: 25.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000224/1.198, allocations: 179.9 kB / 1.146 GB, free: 24.96 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/1.198, allocations: 4.797 kB / 1.146 GB, free: 24.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/1.198, allocations: 4 kB / 1.146 GB, free: 24.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/1.198, allocations: 0 / 1.146 GB, free: 24.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/1.199, allocations: 57.03 kB / 1.146 GB, free: 24.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/1.199, allocations: 5.391 kB / 1.146 GB, free: 24.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/1.199, allocations: 21.72 kB / 1.146 GB, free: 24.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/1.199, allocations: 7.188 kB / 1.146 GB, free: 24.89 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 5.923e-05/1.199, allocations: 117 kB / 1.146 GB, free: 24.77 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/1.199, allocations: 35.56 kB / 1.146 GB, free: 24.73 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.056e-05/1.199, allocations: 41.69 kB / 1.146 GB, free: 24.72 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.199, allocations: 4 kB / 1.146 GB, free: 24.71 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.199, allocations: 0.6094 kB / 1.146 GB, free: 24.71 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.199, allocations: 1.359 kB / 1.146 GB, free: 24.71 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003994/1.2, allocations: 379.9 kB / 1.146 GB, free: 24.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.2, allocations: 0.6562 kB / 1.146 GB, free: 24.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/1.2, allocations: 61.17 kB / 1.146 GB, free: 24.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/1.2, allocations: 0 / 1.146 GB, free: 24.38 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/1.2, allocations: 4.125 kB / 1.146 GB, free: 24.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.2, allocations: 4.656 kB / 1.146 GB, free: 24.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/1.2, allocations: 0 / 1.146 GB, free: 24.38 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003803/1.2, allocations: 343.3 kB / 1.147 GB, free: 24.11 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.394e-05/1.2, allocations: 118.6 kB / 1.147 GB, free: 23.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/1.2, allocations: 0.6562 kB / 1.147 GB, free: 23.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/1.201, allocations: 18.33 kB / 1.147 GB, free: 23.97 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/1.201, allocations: 12.72 kB / 1.147 GB, free: 23.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/1.201, allocations: 8.5 kB / 1.147 GB, free: 23.96 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002987/1.201, allocations: 296.1 kB / 1.147 GB, free: 23.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.201, allocations: 0 / 1.147 GB, free: 23.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000343/1.201, allocations: 89.44 kB / 1.147 GB, free: 23.68 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0008752/1.202, allocations: 1.05 MB / 1.148 GB, free: 22.71 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002006/1.202, allocations: 113 kB / 1.148 GB, free: 22.64 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.202, allocations: 8 kB / 1.148 GB, free: 22.63 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.571e-05/1.203, allocations: 66.8 kB / 1.148 GB, free: 22.58 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/1.203, allocations: 90.5 kB / 1.149 GB, free: 22.54 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/1.204, allocations: 0.5961 MB / 1.149 GB, free: 22.04 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/1.204, allocations: 0.8087 MB / 1.15 GB, free: 21.26 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001434/1.205, allocations: 39.98 kB / 1.15 GB, free: 21.22 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/1.205, allocations: 118 kB / 1.15 GB, free: 21.2 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/1.205, allocations: 0 / 1.15 GB, free: 21.2 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/1.228, allocations: 9.345 MB / 1.159 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/1.228, allocations: 220.1 kB / 1.159 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/3.671, allocations: 3.094 kB / 1.159 GB, free: 15.51 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)