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.716/1.716, allocations: 292.6 MB / 307.5 MB, free: 5.242 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.001238/0.001238, allocations: 189 kB / 377.1 MB, free: 1.547 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.755/1.755, allocations: 205.4 MB / 0.6366 GB, free: 8.625 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.0008544/0.0008544, allocations: 96.08 kB / 0.7509 GB, free: 63.31 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003355, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2684, allocations: 116.3 MB / 0.9885 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7142/0.9827, allocations: 147.6 MB / 1.133 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/0.983, allocations: 111.3 kB / 1.133 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04791/1.031, allocations: 17.99 MB / 1.15 GB, free: 16.04 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.344e-06/1.031, allocations: 0 / 1.15 GB, free: 16.04 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.071e-05/1.031, allocations: 4.938 kB / 1.15 GB, free: 16.04 MB / 0.7292 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.0008587/1.032, allocations: 0.6603 MB / 1.151 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/1.032, allocations: 16.02 kB / 1.151 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.398e-05/1.032, allocations: 51.81 kB / 1.151 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/1.032, allocations: 47.44 kB / 1.151 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/1.032, allocations: 358.3 kB / 1.151 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/1.033, allocations: 12.44 kB / 1.151 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/1.033, allocations: 20 kB / 1.151 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/1.033, allocations: 204 kB / 1.152 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/1.033, allocations: 1.359 kB / 1.152 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/1.033, allocations: 9.531 kB / 1.152 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/1.033, allocations: 8 kB / 1.152 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003523/1.033, allocations: 174.3 kB / 1.152 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/1.034, allocations: 0.878 MB / 1.153 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/1.035, allocations: 164.6 kB / 1.153 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/1.035, allocations: 4 kB / 1.153 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/1.035, allocations: 32.11 kB / 1.153 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/1.035, allocations: 0 / 1.153 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0006023/1.035, allocations: 269.3 kB / 1.153 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/1.035, allocations: 55.41 kB / 1.153 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/1.036, allocations: 374.1 kB / 1.154 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/1.036, allocations: 29.7 kB / 1.154 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/1.036, allocations: 206.3 kB / 1.154 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.174e-05/1.036, allocations: 65.06 kB / 1.154 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/1.036, allocations: 4 kB / 1.154 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.751e-05/1.036, allocations: 346.8 kB / 1.154 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/1.036, allocations: 60.02 kB / 1.154 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/1.036, allocations: 66.38 kB / 1.154 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/1.037, allocations: 74.33 kB / 1.154 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.037, allocations: 0 / 1.154 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003411/1.037, allocations: 216.8 kB / 1.155 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/1.037, allocations: 4 kB / 1.155 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/1.037, allocations: 0.8594 kB / 1.155 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/1.037, allocations: 9.391 kB / 1.155 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/1.037, allocations: 55.48 kB / 1.155 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.037, allocations: 0 / 1.155 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/1.037, allocations: 31.03 kB / 1.155 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/1.038, allocations: 4 kB / 1.155 GB, free: 11.8 MB / 0.7292 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 () * Number of clocked 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 0.0001496/1.038, allocations: 169.6 kB / 1.155 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/1.038, allocations: 35.53 kB / 1.155 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.467e-05/1.038, allocations: 40.39 kB / 1.155 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/1.038, allocations: 0 / 1.155 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.038, allocations: 0.9375 kB / 1.155 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.038, allocations: 10.3 kB / 1.155 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/1.038, allocations: 377.6 kB / 1.155 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.038, allocations: 0 / 1.155 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/1.039, allocations: 58.64 kB / 1.155 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/1.039, allocations: 0 / 1.155 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/1.039, allocations: 0 / 1.155 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/1.039, allocations: 6.062 kB / 1.155 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.039, allocations: 0 / 1.155 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005432/1.039, allocations: 401.8 kB / 1.156 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.198e-05/1.039, allocations: 119.8 kB / 1.156 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/1.039, allocations: 5.031 kB / 1.156 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/1.039, allocations: 15.75 kB / 1.156 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/1.039, allocations: 8.641 kB / 1.156 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/1.04, allocations: 8 kB / 1.156 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002796/1.04, allocations: 298.5 kB / 1.156 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/1.04, allocations: 0 / 1.156 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003708/1.04, allocations: 85.44 kB / 1.156 GB, free: 10.27 MB / 0.7292 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 () * Number of clocked 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.0009421/1.041, allocations: 1.073 MB / 1.157 GB, free: 9.223 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003437/1.041, allocations: 161.3 kB / 1.157 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.042, allocations: 3.938 kB / 1.157 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/1.042, allocations: 82.86 kB / 1.157 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/1.042, allocations: 83.75 kB / 1.158 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/1.045, allocations: 2.189 MB / 1.16 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/1.045, allocations: 0.8031 MB / 1.16 GB, free: 6.109 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001265/1.045, allocations: 42.89 kB / 1.161 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/1.045, allocations: 113.4 kB / 1.161 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/1.045, allocations: 0 / 1.161 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02161/1.067, allocations: 9.209 MB / 1.17 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/1.067, allocations: 247.4 kB / 1.17 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/3.462, allocations: 2.5 kB / 1.17 GB, free: 12.79 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)