Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.667/1.667, allocations: 289.9 MB / 297.4 MB, free: 6.461 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.001083/0.001084, allocations: 184.8 kB / 366.7 MB, free: 1.703 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.751/1.751, allocations: 205.3 MB / 0.626 GB, free: 7.191 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.0009305/0.0009305, allocations: 91.08 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.25e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7871/0.7871, allocations: 116.3 MB / 0.9734 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2192/1.006, allocations: 149 MB / 1.119 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003462/1.007, allocations: 116.4 kB / 1.119 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06119/1.068, allocations: 21.92 MB / 1.14 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.685e-06/1.068, allocations: 0 / 1.14 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.657e-05/1.068, allocations: 12 kB / 1.14 GB, free: 11.18 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001846/1.07, allocations: 0.7556 MB / 1.141 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/1.07, allocations: 14.94 kB / 1.141 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003096/1.07, allocations: 79.14 kB / 1.141 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/1.071, allocations: 434.9 kB / 1.142 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/1.071, allocations: 19.06 kB / 1.142 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.942e-05/1.072, allocations: 28 kB / 1.142 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007327/1.072, allocations: 302.6 kB / 1.142 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007626/1.073, allocations: 336 kB / 1.142 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/1.073, allocations: 0 / 1.142 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/1.073, allocations: 0 / 1.142 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/1.073, allocations: 12 kB / 1.142 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003092/1.076, allocations: 1.441 MB / 1.144 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005168/1.077, allocations: 300 kB / 1.144 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/1.077, allocations: 273.8 kB / 1.144 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/1.077, allocations: 4 kB / 1.144 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/1.077, allocations: 38.56 kB / 1.144 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=42): time 2.365e-06/1.077, allocations: 0 / 1.144 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42): time 0.0006917/1.078, allocations: 313.3 kB / 1.145 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/1.078, allocations: 55.41 kB / 1.145 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005797/1.079, allocations: 373.3 kB / 1.145 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/1.079, allocations: 25.7 kB / 1.145 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000334/1.079, allocations: 276.1 kB / 1.145 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002869/1.079, allocations: 141.9 kB / 1.145 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/1.079, allocations: 0 / 1.145 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003026/1.08, allocations: 362.7 kB / 1.146 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/1.08, allocations: 100.7 kB / 1.146 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/1.08, allocations: 104.9 kB / 1.146 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/1.081, allocations: 113.8 kB / 1.146 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/1.081, allocations: 4 kB / 1.146 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00082/1.082, allocations: 333.1 kB / 1.146 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/1.082, allocations: 4.766 kB / 1.146 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.082, allocations: 3.672 kB / 1.146 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/1.082, allocations: 1.781 kB / 1.146 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007725/1.082, allocations: 127.9 kB / 1.147 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1.082, allocations: 0 / 1.147 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004672/1.083, allocations: 47.66 kB / 1.147 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/1.083, allocations: 12 kB / 1.147 GB, free: 4.621 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 (46): * Single equations (assignments): 46 * 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.000172/1.083, allocations: 112.8 kB / 1.147 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007148/1.084, allocations: 312.9 kB / 1.147 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/1.084, allocations: 51.44 kB / 1.147 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/1.084, allocations: 48.97 kB / 1.147 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/1.084, allocations: 4 kB / 1.147 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.084, allocations: 0 / 1.147 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/1.084, allocations: 3.984 kB / 1.147 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009319/1.085, allocations: 0.5015 MB / 1.148 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/1.085, allocations: 0 / 1.148 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007537/1.086, allocations: 127.9 kB / 1.148 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/1.086, allocations: 6.25 kB / 1.148 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/1.086, allocations: 4 kB / 1.148 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/1.086, allocations: 0 / 1.148 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.086, allocations: 0 / 1.148 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/1.087, allocations: 0.5719 MB / 1.148 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/1.087, allocations: 136.5 kB / 1.148 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-05/1.087, allocations: 3.984 kB / 1.148 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/1.088, allocations: 19.98 kB / 1.148 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-05/1.088, allocations: 24.06 kB / 1.148 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/1.088, allocations: 7.984 kB / 1.149 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005086/1.088, allocations: 299 kB / 1.149 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.6e-07/1.088, allocations: 0 / 1.149 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007164/1.089, allocations: 143.4 kB / 1.149 GB, free: 2.191 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.00186/1.091, allocations: 1.268 MB / 1.15 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000658/1.092, allocations: 276 kB / 1.15 GB, free: 0.6406 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/1.092, allocations: 7.938 kB / 1.15 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003159/1.092, allocations: 159.6 kB / 1.151 GB, free: 488 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007145/1.093, allocations: 76.28 kB / 1.151 GB, free: 416 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/1.096, allocations: 0.9805 MB / 1.152 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007154/1.096, allocations: 0.8782 MB / 1.152 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000291/1.097, allocations: 44.27 kB / 1.153 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003863/1.097, allocations: 203.4 kB / 1.153 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of SimCode: time 1.223e-06/1.097, allocations: 0 / 1.153 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0428/1.14, allocations: 9.34 MB / 1.162 GB, free: 5.09 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003788/1.14, allocations: 211.5 kB / 1.162 GB, free: 4.805 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/3.579, allocations: 0 / 1.162 GB, free: 4.805 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)