Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.843/1.843, allocations: 292.6 MB / 307.5 MB, free: 5.176 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.001538/0.001539, allocations: 191.4 kB / 377.1 MB, free: 1.516 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.743/1.743, allocations: 205.4 MB / 0.6366 GB, free: 8.613 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.0009622/0.000962, allocations: 89.02 kB / 0.7509 GB, free: 63.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003487, allocations: 11.98 kB / 0.8749 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2687, allocations: 116.3 MB / 0.9885 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7197/0.9884, allocations: 160.2 MB / 1.145 GB, free: 21.45 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/0.9888, allocations: 124.5 kB / 1.145 GB, free: 21.35 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04224/1.031, allocations: 15.36 MB / 1.16 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.044e-06/1.031, allocations: 0 / 1.16 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.285e-05/1.031, allocations: 0 / 1.16 GB, free: 6.836 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0009479/1.032, allocations: 0.5667 MB / 1.161 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/1.032, allocations: 12.03 kB / 1.161 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.166e-05/1.032, allocations: 108.6 kB / 1.161 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/1.032, allocations: 83.19 kB / 1.161 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.651e-05/1.032, allocations: 253.7 kB / 1.161 GB, free: 5.73 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/1.032, allocations: 150.6 kB / 1.161 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/1.032, allocations: 154.6 kB / 1.161 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.745e-05/1.032, allocations: 108.9 kB / 1.161 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/1.032, allocations: 75.28 kB / 1.162 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/1.032, allocations: 151.7 kB / 1.162 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/1.032, allocations: 154.6 kB / 1.162 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.292e-05/1.033, allocations: 150.6 kB / 1.162 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/1.033, allocations: 463 kB / 1.162 GB, free: 4.293 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.274e-05/1.033, allocations: 177.1 kB / 1.163 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/1.033, allocations: 79.28 kB / 1.163 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/1.033, allocations: 108.8 kB / 1.163 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/1.033, allocations: 0 / 1.163 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 6.725e-05/1.033, allocations: 37.59 kB / 1.163 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/1.033, allocations: 126.7 kB / 1.163 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.442e-05/1.033, allocations: 119.1 kB / 1.163 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/1.033, allocations: 29.7 kB / 1.163 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/1.033, allocations: 108.9 kB / 1.163 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/1.033, allocations: 0 / 1.163 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/1.033, allocations: 0 / 1.163 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.083e-05/1.033, allocations: 322.8 kB / 1.163 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.06e-05/1.033, allocations: 3.984 kB / 1.163 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.451e-05/1.033, allocations: 4.625 kB / 1.163 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.533e-05/1.033, allocations: 8 kB / 1.163 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/1.033, allocations: 4 kB / 1.163 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001112/1.033, allocations: 46.42 kB / 1.164 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/1.033, allocations: 4 kB / 1.164 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/1.033, allocations: 4.562 kB / 1.164 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/1.033, allocations: 0 / 1.164 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/1.033, allocations: 3.984 kB / 1.164 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/1.033, allocations: 5.375 kB / 1.164 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.496e-05/1.033, allocations: 7.844 kB / 1.164 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/1.034, allocations: 0 / 1.164 GB, free: 3.051 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.362e-05/1.034, allocations: 193.9 kB / 1.164 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/1.034, allocations: 109 kB / 1.164 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/1.034, allocations: 108.9 kB / 1.164 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.821e-05/1.034, allocations: 184.2 kB / 1.164 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.523e-05/1.034, allocations: 176.3 kB / 1.164 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.739e-05/1.034, allocations: 180.3 kB / 1.164 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/1.034, allocations: 421.1 kB / 1.165 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/1.034, allocations: 105 kB / 1.165 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.6e-05/1.034, allocations: 109 kB / 1.165 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.44e-05/1.034, allocations: 182.3 kB / 1.165 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/1.034, allocations: 180.2 kB / 1.165 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-05/1.034, allocations: 184.3 kB / 1.166 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.407e-05/1.034, allocations: 180.3 kB / 1.166 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.495e-05/1.034, allocations: 307.7 kB / 1.166 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/1.034, allocations: 197.9 kB / 1.166 GB, free: 108 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.592e-05/1.034, allocations: 176.3 kB / 1.166 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.584e-05/1.034, allocations: 110 kB / 1.167 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/1.034, allocations: 180.2 kB / 1.167 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.09e-05/1.034, allocations: 111.5 kB / 1.167 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.02e-05/1.035, allocations: 101.1 kB / 1.167 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.035, allocations: 0 / 1.167 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001194/1.036, allocations: 319.6 kB / 1.167 GB, free: 15.11 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001526/1.037, allocations: 1.216 MB / 1.168 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001056/1.037, allocations: 37.7 kB / 1.168 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.037, allocations: 4 kB / 1.168 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.036e-06/1.037, allocations: 4.656 kB / 1.168 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/1.038, allocations: 0.5309 MB / 1.169 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007634/1.039, allocations: 0.6003 MB / 1.17 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/1.039, allocations: 0.6848 MB / 1.17 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.96e-05/1.039, allocations: 7.938 kB / 1.17 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/1.039, allocations: 15.44 kB / 1.17 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/1.039, allocations: 1.031 kB / 1.17 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/1.063, allocations: 6.546 MB / 1.177 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002774/1.064, allocations: 310.3 kB / 1.177 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/3.08, allocations: 0 / 1.177 GB, free: 5.27 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)