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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.762/1.762, allocations: 292.6 MB / 307.5 MB, free: 5.219 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: 185 kB / 377.1 MB, free: 1.539 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.804/1.804, allocations: 205.4 MB / 0.6366 GB, free: 9.531 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.0009418/0.0009416, allocations: 90.95 kB / 0.7509 GB, free: 62.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003801, allocations: 16 kB / 0.8749 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2828, allocations: 116.3 MB / 0.9885 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7039/0.9868, allocations: 159.5 MB / 1.144 GB, free: 22.05 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.9871, allocations: 121.5 kB / 1.144 GB, free: 21.96 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04107/1.028, allocations: 15.03 MB / 1.159 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.123e-06/1.028, allocations: 0 / 1.159 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.684e-06/1.028, allocations: 0 / 1.159 GB, free: 8.02 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.0009381/1.029, allocations: 0.5667 MB / 1.16 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/1.029, allocations: 8.031 kB / 1.16 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/1.029, allocations: 115.8 kB / 1.16 GB, free: 7.281 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.602e-05/1.029, allocations: 83.28 kB / 1.16 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/1.029, allocations: 252 kB / 1.16 GB, free: 6.914 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/1.03, allocations: 150.6 kB / 1.16 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/1.03, allocations: 150.6 kB / 1.16 GB, free: 6.617 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.529e-05/1.03, allocations: 102.7 kB / 1.16 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/1.03, allocations: 75.28 kB / 1.16 GB, free: 6.438 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/1.03, allocations: 154.6 kB / 1.161 GB, free: 6.285 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/1.03, allocations: 154.6 kB / 1.161 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.549e-05/1.03, allocations: 154.5 kB / 1.161 GB, free: 5.98 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002153/1.03, allocations: 466.6 kB / 1.161 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.678e-05/1.03, allocations: 173.1 kB / 1.162 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/1.03, allocations: 75.28 kB / 1.162 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/1.03, allocations: 105.8 kB / 1.162 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/1.03, allocations: 0.5625 kB / 1.162 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 6.838e-05/1.03, allocations: 41.53 kB / 1.162 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/1.03, allocations: 130.6 kB / 1.162 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.287e-05/1.03, allocations: 119 kB / 1.162 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/1.03, allocations: 25.7 kB / 1.162 GB, free: 4.766 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.276e-05/1.03, allocations: 96.12 kB / 1.162 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/1.03, allocations: 0.5625 kB / 1.162 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/1.03, allocations: 0 / 1.162 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.196e-05/1.03, allocations: 318.8 kB / 1.162 GB, free: 4.348 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.983e-05/1.03, allocations: 4 kB / 1.162 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.367e-05/1.03, allocations: 11.97 kB / 1.162 GB, free: 4.332 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.252e-05/1.03, allocations: 8.031 kB / 1.162 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.03, allocations: 0.6562 kB / 1.162 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001061/1.031, allocations: 53.55 kB / 1.162 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/1.031, allocations: 4 kB / 1.162 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/1.031, allocations: 4 kB / 1.162 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/1.031, allocations: 3.984 kB / 1.162 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.014e-06/1.031, allocations: 0.5 kB / 1.162 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/1.031, allocations: 0.8594 kB / 1.163 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.033e-05/1.031, allocations: 4.969 kB / 1.163 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/1.031, allocations: 0 / 1.163 GB, free: 4.25 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 5.711e-05/1.031, allocations: 193.1 kB / 1.163 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/1.031, allocations: 112.9 kB / 1.163 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/1.031, allocations: 113.5 kB / 1.163 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/1.031, allocations: 176.3 kB / 1.163 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.657e-05/1.031, allocations: 184.2 kB / 1.163 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-05/1.031, allocations: 180.3 kB / 1.163 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/1.031, allocations: 413.2 kB / 1.164 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/1.031, allocations: 112.9 kB / 1.164 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.551e-05/1.031, allocations: 102.1 kB / 1.164 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.548e-05/1.031, allocations: 184.9 kB / 1.164 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/1.031, allocations: 176.3 kB / 1.164 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.549e-05/1.031, allocations: 184.3 kB / 1.165 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.759e-05/1.031, allocations: 184.2 kB / 1.165 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.952e-05/1.031, allocations: 307.7 kB / 1.165 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/1.031, allocations: 186 kB / 1.165 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/1.031, allocations: 185.2 kB / 1.165 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.933e-05/1.031, allocations: 111.6 kB / 1.165 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/1.032, allocations: 180.2 kB / 1.166 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/1.032, allocations: 108.9 kB / 1.166 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.498e-05/1.032, allocations: 101.2 kB / 1.166 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.032, allocations: 0 / 1.166 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009671/1.033, allocations: 323.5 kB / 1.166 GB, free: 308 kB / 0.7292 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.001369/1.034, allocations: 1.2 MB / 1.167 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.588e-05/1.034, allocations: 37.64 kB / 1.167 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.034, allocations: 0 / 1.167 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.718e-06/1.034, allocations: 12.06 kB / 1.167 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/1.034, allocations: 0.5191 MB / 1.168 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007712/1.035, allocations: 0.6097 MB / 1.168 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/1.036, allocations: 0.6887 MB / 1.169 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.367e-05/1.036, allocations: 4.781 kB / 1.169 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/1.036, allocations: 11.44 kB / 1.169 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/1.036, allocations: 4 kB / 1.169 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/1.055, allocations: 6.399 MB / 1.175 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/1.056, allocations: 307.5 kB / 1.176 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.995, allocations: 0 / 1.176 GB, free: 6.629 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)