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.683/1.683, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.001397/0.001397, allocations: 176.8 kB / 366.7 MB, free: 1.641 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.815/1.815, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0009355/0.0009354, allocations: 109.7 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.423e-05/2.425e-05, allocations: 4 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7309/0.7309, allocations: 116.3 MB / 0.9734 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2045/0.9355, allocations: 146.9 MB / 1.117 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.9358, allocations: 108.9 kB / 1.117 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04829/0.9841, allocations: 17.75 MB / 1.134 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9841, allocations: 0 / 1.134 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.9842, allocations: 11 kB / 1.134 GB, free: 1.473 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.0008187/0.985, allocations: 0.5719 MB / 1.135 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.985, allocations: 12.03 kB / 1.135 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.087e-05/0.9851, allocations: 47.73 kB / 1.135 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/0.9856, allocations: 351.7 kB / 1.135 GB, free: 424 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.9857, allocations: 11.94 kB / 1.135 GB, free: 412 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.214e-05/0.9857, allocations: 15.98 kB / 1.135 GB, free: 396 kB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002653/0.986, allocations: 125.1 kB / 1.135 GB, free: 272 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.9863, allocations: 150.5 kB / 1.136 GB, free: 116 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.9864, allocations: 7.938 kB / 1.136 GB, free: 108 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.9864, allocations: 0 / 1.136 GB, free: 108 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.9864, allocations: 8.75 kB / 1.136 GB, free: 100 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.9875, allocations: 0.8113 MB / 1.136 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.9878, allocations: 126.8 kB / 1.136 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.9879, allocations: 106.5 kB / 1.137 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.9879, allocations: 0 / 1.137 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.988, allocations: 34.56 kB / 1.137 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.132e-06/0.988, allocations: 0 / 1.137 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.000314/0.9883, allocations: 158.5 kB / 1.137 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.9883, allocations: 55.41 kB / 1.137 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003905/0.9887, allocations: 330.4 kB / 1.137 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.9888, allocations: 25.7 kB / 1.137 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.9889, allocations: 212.1 kB / 1.137 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.704e-05/0.989, allocations: 59.11 kB / 1.137 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/0.989, allocations: 0 / 1.137 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.9892, allocations: 342.8 kB / 1.138 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.317e-05/0.9892, allocations: 44 kB / 1.138 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.072e-05/0.9893, allocations: 37.89 kB / 1.138 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.797e-05/0.9894, allocations: 51.94 kB / 1.138 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.9894, allocations: 0 / 1.138 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002506/0.9897, allocations: 167.8 kB / 1.138 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.9897, allocations: 8 kB / 1.138 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.9897, allocations: 2.062 kB / 1.138 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.9898, allocations: 0.5625 kB / 1.138 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.99, allocations: 55.91 kB / 1.138 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.9901, allocations: 6.656 kB / 1.138 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.9903, allocations: 19.83 kB / 1.138 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.9903, allocations: 10.44 kB / 1.138 GB, free: 13.35 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 7.857e-05/0.9904, allocations: 104.9 kB / 1.138 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002367/0.9906, allocations: 161.9 kB / 1.138 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.9907, allocations: 35.53 kB / 1.138 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.559e-05/0.9908, allocations: 43.23 kB / 1.138 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.9908, allocations: 3.938 kB / 1.138 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.9908, allocations: 4 kB / 1.138 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.9908, allocations: 0 / 1.138 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.9912, allocations: 337.8 kB / 1.139 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.9912, allocations: 8 kB / 1.139 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.9915, allocations: 55.91 kB / 1.139 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.9915, allocations: 0 / 1.139 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.9915, allocations: 0 / 1.139 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.9915, allocations: 0 / 1.139 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.9915, allocations: 0 / 1.139 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.992, allocations: 328.1 kB / 1.139 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.446e-05/0.9921, allocations: 112.7 kB / 1.139 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.9921, allocations: 10.7 kB / 1.139 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.9923, allocations: 8 kB / 1.139 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.9924, allocations: 7.984 kB / 1.139 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.9924, allocations: 14.23 kB / 1.139 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002873/0.9927, allocations: 260.6 kB / 1.14 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9927, allocations: 0 / 1.14 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000314/0.993, allocations: 79.78 kB / 1.14 GB, free: 11.72 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.0009225/0.9939, allocations: 1.017 MB / 1.141 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.9942, allocations: 111.9 kB / 1.141 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9942, allocations: 0 / 1.141 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.203e-05/0.9943, allocations: 59.94 kB / 1.141 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.9947, allocations: 71.22 kB / 1.141 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.996, allocations: 0.5878 MB / 1.141 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.9964, allocations: 0.8106 MB / 1.142 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001255/0.9965, allocations: 35.28 kB / 1.142 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.9967, allocations: 111.4 kB / 1.142 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/0.9967, allocations: 0 / 1.142 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/1.025, allocations: 6.81 MB / 1.149 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000295/1.025, allocations: 214.5 kB / 1.149 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.305/3.331, allocations: 1.875 kB / 1.149 GB, free: 1.938 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)