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.807/1.807, allocations: 289.7 MB / 302.3 MB, free: 2.164 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.001205/0.001205, allocations: 184.4 kB / 371.6 MB, free: 3.375 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.81/1.81, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.001063/0.001064, allocations: 89.58 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.817e-05/3.819e-05, allocations: 4 kB / 0.8664 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3134, allocations: 116.3 MB / 0.98 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.318, allocations: 159.4 MB / 1.136 GB, free: 31.3 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/1.318, allocations: 120.9 kB / 1.136 GB, free: 31.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04703/1.365, allocations: 14.95 MB / 1.15 GB, free: 23.06 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.615e-06/1.365, allocations: 0 / 1.15 GB, free: 23.06 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.306e-06/1.365, allocations: 0 / 1.15 GB, free: 23.06 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001251/1.367, allocations: 0.5519 MB / 1.151 GB, free: 22.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/1.367, allocations: 12.03 kB / 1.151 GB, free: 22.48 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.418e-05/1.367, allocations: 107.6 kB / 1.151 GB, free: 22.37 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/1.367, allocations: 78.41 kB / 1.151 GB, free: 22.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/1.367, allocations: 252.8 kB / 1.151 GB, free: 22.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/1.367, allocations: 156.8 kB / 1.151 GB, free: 21.86 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/1.367, allocations: 150.6 kB / 1.152 GB, free: 21.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.717e-05/1.367, allocations: 107 kB / 1.152 GB, free: 21.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/1.367, allocations: 75.28 kB / 1.152 GB, free: 21.53 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/1.367, allocations: 150.6 kB / 1.152 GB, free: 21.38 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/1.367, allocations: 150.6 kB / 1.152 GB, free: 21.23 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.9e-05/1.367, allocations: 153.2 kB / 1.152 GB, free: 21.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/1.367, allocations: 475.9 kB / 1.153 GB, free: 20.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.629e-05/1.367, allocations: 170.1 kB / 1.153 GB, free: 20.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/1.367, allocations: 81.08 kB / 1.153 GB, free: 20.33 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/1.367, allocations: 75.28 kB / 1.153 GB, free: 20.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/1.367, allocations: 118.1 kB / 1.153 GB, free: 20.13 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/1.367, allocations: 0 / 1.153 GB, free: 20.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.35e-05/1.368, allocations: 38.91 kB / 1.153 GB, free: 20.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/1.368, allocations: 126.7 kB / 1.153 GB, free: 19.95 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/1.368, allocations: 116.6 kB / 1.153 GB, free: 19.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/1.368, allocations: 25.7 kB / 1.153 GB, free: 19.81 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/1.368, allocations: 92.22 kB / 1.153 GB, free: 19.72 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-06/1.368, allocations: 0.5625 kB / 1.153 GB, free: 19.72 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/1.368, allocations: 0 / 1.153 GB, free: 19.72 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.846e-05/1.368, allocations: 328.8 kB / 1.154 GB, free: 19.4 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.238e-05/1.368, allocations: 7.062 kB / 1.154 GB, free: 19.39 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.213e-05/1.368, allocations: 0 / 1.154 GB, free: 19.39 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.482e-05/1.368, allocations: 5.734 kB / 1.154 GB, free: 19.39 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.368, allocations: 4.844 kB / 1.154 GB, free: 19.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00011/1.368, allocations: 53.94 kB / 1.154 GB, free: 19.33 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/1.368, allocations: 5.25 kB / 1.154 GB, free: 19.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/1.368, allocations: 6.094 kB / 1.154 GB, free: 19.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/1.368, allocations: 0 / 1.154 GB, free: 19.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/1.368, allocations: 4.062 kB / 1.154 GB, free: 19.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/1.368, allocations: 0 / 1.154 GB, free: 19.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/1.368, allocations: 0 / 1.154 GB, free: 19.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/1.368, allocations: 5.5 kB / 1.154 GB, free: 19.32 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 (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 6.204e-05/1.368, allocations: 182.2 kB / 1.154 GB, free: 19.13 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/1.368, allocations: 112.3 kB / 1.154 GB, free: 19.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/1.368, allocations: 110.5 kB / 1.154 GB, free: 18.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.493e-05/1.368, allocations: 181.7 kB / 1.154 GB, free: 18.73 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.781e-05/1.368, allocations: 184.3 kB / 1.155 GB, free: 18.54 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.961e-05/1.369, allocations: 181.6 kB / 1.155 GB, free: 18.36 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/1.369, allocations: 416.2 kB / 1.155 GB, free: 17.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.75e-05/1.369, allocations: 110 kB / 1.155 GB, free: 17.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.501e-05/1.369, allocations: 101 kB / 1.155 GB, free: 17.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.303e-05/1.369, allocations: 185.8 kB / 1.156 GB, free: 17.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/1.369, allocations: 180.3 kB / 1.156 GB, free: 17.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-05/1.369, allocations: 177 kB / 1.156 GB, free: 17.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.364e-05/1.369, allocations: 182.4 kB / 1.156 GB, free: 16.95 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.281e-05/1.369, allocations: 311.9 kB / 1.156 GB, free: 16.63 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/1.369, allocations: 194.4 kB / 1.157 GB, free: 16.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/1.369, allocations: 177.6 kB / 1.157 GB, free: 16.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.774e-05/1.369, allocations: 107.1 kB / 1.157 GB, free: 16.13 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/1.369, allocations: 180.3 kB / 1.157 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/1.369, allocations: 107.7 kB / 1.157 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.254e-05/1.369, allocations: 102.4 kB / 1.157 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.369, allocations: 0.5625 kB / 1.157 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001273/1.371, allocations: 325.7 kB / 1.158 GB, free: 15.45 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 () * 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.001276/1.372, allocations: 1.204 MB / 1.159 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.304e-05/1.372, allocations: 37.7 kB / 1.159 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/1.372, allocations: 0 / 1.159 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/1.372, allocations: 3.062 kB / 1.159 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/1.372, allocations: 0.53 MB / 1.159 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/1.373, allocations: 343.8 kB / 1.16 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/1.373, allocations: 0.6844 MB / 1.16 GB, free: 28.67 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.436e-05/1.373, allocations: 0 / 1.16 GB, free: 28.67 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/1.373, allocations: 18.83 kB / 1.16 GB, free: 28.66 MB / 0.7605 GB Notification: Performance of SimCode: time 2.4e-07/1.373, allocations: 0 / 1.16 GB, free: 28.66 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0205/1.394, allocations: 6.456 MB / 1.167 GB, free: 23.39 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002711/1.394, allocations: 271.8 kB / 1.167 GB, free: 23.06 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/3.355, allocations: 0 / 1.167 GB, free: 23.06 MB / 0.7605 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)