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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.71/1.71, allocations: 292.6 MB / 307.5 MB, free: 5.172 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.00135/0.00135, allocations: 173.1 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.724/1.724, 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.00102/0.00102, allocations: 92.81 kB / 0.7509 GB, free: 63.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003621, allocations: 8 kB / 0.8749 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2856, allocations: 116.3 MB / 0.9885 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8351/1.121, allocations: 160.2 MB / 1.145 GB, free: 21.48 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003551/1.121, allocations: 123.6 kB / 1.145 GB, free: 21.39 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04343/1.165, allocations: 15.35 MB / 1.16 GB, free: 6.82 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.784e-06/1.165, allocations: 0 / 1.16 GB, free: 6.82 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.016e-06/1.165, allocations: 4 kB / 1.16 GB, free: 6.816 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.001011/1.166, allocations: 0.5706 MB / 1.161 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/1.166, allocations: 12.03 kB / 1.161 GB, free: 6.188 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/1.166, allocations: 107.9 kB / 1.161 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/1.166, allocations: 79.19 kB / 1.161 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/1.166, allocations: 249.7 kB / 1.161 GB, free: 5.715 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/1.166, allocations: 154.6 kB / 1.161 GB, free: 5.562 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/1.166, allocations: 150.6 kB / 1.161 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.527e-05/1.166, allocations: 104.9 kB / 1.161 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/1.166, allocations: 76.78 kB / 1.162 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/1.166, allocations: 158.5 kB / 1.162 GB, free: 5.074 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.04e-05/1.166, allocations: 154.6 kB / 1.162 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.231e-05/1.166, allocations: 154.6 kB / 1.162 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/1.166, allocations: 459 kB / 1.162 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.126e-05/1.167, allocations: 173.1 kB / 1.163 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/1.167, allocations: 79.28 kB / 1.163 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/1.167, allocations: 108.2 kB / 1.163 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/1.167, allocations: 0 / 1.163 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 7.153e-05/1.167, allocations: 33.61 kB / 1.163 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/1.167, allocations: 126.7 kB / 1.163 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/1.167, allocations: 131 kB / 1.163 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/1.167, allocations: 25.7 kB / 1.163 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/1.167, allocations: 96.03 kB / 1.163 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-06/1.167, allocations: 0 / 1.163 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-06/1.167, allocations: 3.938 kB / 1.163 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.552e-05/1.167, allocations: 326.8 kB / 1.163 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.04e-05/1.167, allocations: 4 kB / 1.163 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.321e-05/1.167, allocations: 8 kB / 1.163 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.388e-05/1.167, allocations: 4 kB / 1.163 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.167, allocations: 0 / 1.163 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001195/1.167, allocations: 47.19 kB / 1.164 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/1.167, allocations: 12.06 kB / 1.164 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/1.167, allocations: 0 / 1.164 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/1.167, allocations: 4 kB / 1.164 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/1.167, allocations: 0 / 1.164 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/1.167, allocations: 0 / 1.164 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/1.167, allocations: 8.406 kB / 1.164 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/1.167, allocations: 0 / 1.164 GB, free: 3.039 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.246e-05/1.167, allocations: 193.1 kB / 1.164 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/1.167, allocations: 112.9 kB / 1.164 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.114e-05/1.167, allocations: 108.9 kB / 1.164 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-05/1.168, allocations: 181.1 kB / 1.164 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.875e-05/1.168, allocations: 184.8 kB / 1.164 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-05/1.168, allocations: 176.3 kB / 1.164 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/1.168, allocations: 425.1 kB / 1.165 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.178e-05/1.168, allocations: 105 kB / 1.165 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/1.168, allocations: 105 kB / 1.165 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.859e-05/1.168, allocations: 184.3 kB / 1.165 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.855e-05/1.168, allocations: 181.8 kB / 1.165 GB, free: 1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.654e-05/1.168, allocations: 184.2 kB / 1.166 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.728e-05/1.168, allocations: 180.3 kB / 1.166 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.765e-05/1.168, allocations: 307.7 kB / 1.166 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/1.168, allocations: 197.9 kB / 1.166 GB, free: 88 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/1.168, allocations: 176.3 kB / 1.166 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-05/1.168, allocations: 104.3 kB / 1.167 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.742e-05/1.168, allocations: 188.2 kB / 1.167 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/1.169, allocations: 104.9 kB / 1.167 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.35e-05/1.169, allocations: 105.3 kB / 1.167 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.169, allocations: 0 / 1.167 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001307/1.17, allocations: 319.6 kB / 1.167 GB, free: 15.09 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.001609/1.172, allocations: 1.216 MB / 1.168 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001032/1.172, allocations: 41.69 kB / 1.168 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/1.172, allocations: 0 / 1.168 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.188e-06/1.172, allocations: 4 kB / 1.168 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/1.172, allocations: 0.5264 MB / 1.169 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008271/1.173, allocations: 0.6081 MB / 1.17 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/1.173, allocations: 0.6887 MB / 1.17 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.367e-05/1.173, allocations: 3.938 kB / 1.17 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/1.173, allocations: 12.09 kB / 1.17 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/1.173, allocations: 4 kB / 1.17 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/1.196, allocations: 6.56 MB / 1.177 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003262/1.196, allocations: 306.3 kB / 1.177 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.078/3.274, allocations: 0 / 1.177 GB, free: 5.246 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)