Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.561/2.561, allocations: 287.3 MB / 302.3 MB, free: 8.16 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.001572/0.001571, allocations: 182.2 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001137, allocations: 102.8 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004897, allocations: 11.91 kB / 0.8658 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2133, allocations: 115.3 MB / 0.9783 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9228/1.136, allocations: 158.5 MB / 1.133 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004392/1.137, allocations: 124.5 kB / 1.133 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06645/1.203, allocations: 14.73 MB / 1.148 GB, free: 23.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.285e-06/1.203, allocations: 0 / 1.148 GB, free: 23.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.993e-06/1.203, allocations: 0 / 1.148 GB, free: 23.46 MB / 0.698 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.001085/1.204, allocations: 0.5807 MB / 1.148 GB, free: 22.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.204, allocations: 7.75 kB / 1.148 GB, free: 22.91 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.955e-05/1.204, allocations: 109.8 kB / 1.148 GB, free: 22.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.113e-05/1.205, allocations: 83.05 kB / 1.148 GB, free: 22.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/1.205, allocations: 248.2 kB / 1.149 GB, free: 22.44 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.98e-05/1.205, allocations: 153.8 kB / 1.149 GB, free: 22.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.226e-05/1.205, allocations: 150.6 kB / 1.149 GB, free: 22.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.557e-05/1.205, allocations: 112.8 kB / 1.149 GB, free: 22.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/1.205, allocations: 79.27 kB / 1.149 GB, free: 21.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.772e-05/1.205, allocations: 154.5 kB / 1.149 GB, free: 21.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.134e-05/1.205, allocations: 150.6 kB / 1.149 GB, free: 21.65 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.567e-05/1.205, allocations: 150.6 kB / 1.149 GB, free: 21.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/1.205, allocations: 475.6 kB / 1.15 GB, free: 21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.174e-05/1.206, allocations: 169.1 kB / 1.15 GB, free: 20.83 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/1.206, allocations: 75.28 kB / 1.15 GB, free: 20.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/1.206, allocations: 109.7 kB / 1.15 GB, free: 20.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/1.206, allocations: 0 / 1.15 GB, free: 20.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.693e-05/1.206, allocations: 33.61 kB / 1.15 GB, free: 20.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/1.206, allocations: 130.5 kB / 1.15 GB, free: 20.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/1.206, allocations: 119.2 kB / 1.151 GB, free: 20.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/1.206, allocations: 25.7 kB / 1.151 GB, free: 20.33 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/1.206, allocations: 91.05 kB / 1.151 GB, free: 20.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/1.206, allocations: 3.938 kB / 1.151 GB, free: 20.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/1.206, allocations: 0 / 1.151 GB, free: 20.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.206, allocations: 322.7 kB / 1.151 GB, free: 19.92 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/1.206, allocations: 11.03 kB / 1.151 GB, free: 19.92 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.083e-05/1.206, allocations: 3.875 kB / 1.151 GB, free: 19.92 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.224e-05/1.206, allocations: 3.688 kB / 1.151 GB, free: 19.92 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.206, allocations: 0 / 1.151 GB, free: 19.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001482/1.207, allocations: 52.16 kB / 1.151 GB, free: 19.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/1.207, allocations: 6 kB / 1.151 GB, free: 19.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/1.207, allocations: 7.875 kB / 1.151 GB, free: 19.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/1.207, allocations: 0 / 1.151 GB, free: 19.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-06/1.207, allocations: 0 / 1.151 GB, free: 19.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/1.207, allocations: 0 / 1.151 GB, free: 19.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/1.207, allocations: 4.062 kB / 1.151 GB, free: 19.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/1.207, allocations: 0 / 1.151 GB, free: 19.87 MB / 0.698 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 0.0001103/1.207, allocations: 192.8 kB / 1.151 GB, free: 19.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/1.207, allocations: 116.7 kB / 1.151 GB, free: 19.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.639e-05/1.207, allocations: 104.9 kB / 1.151 GB, free: 19.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.447e-05/1.207, allocations: 180.2 kB / 1.152 GB, free: 19.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-05/1.207, allocations: 188 kB / 1.152 GB, free: 19.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.199e-05/1.207, allocations: 176.3 kB / 1.152 GB, free: 18.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/1.207, allocations: 420.4 kB / 1.152 GB, free: 18.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.681e-05/1.207, allocations: 101 kB / 1.152 GB, free: 18.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/1.208, allocations: 104.9 kB / 1.153 GB, free: 18.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.052e-05/1.208, allocations: 184 kB / 1.153 GB, free: 18.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.838e-05/1.208, allocations: 184.1 kB / 1.153 GB, free: 17.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-05/1.208, allocations: 188.1 kB / 1.153 GB, free: 17.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.498e-05/1.208, allocations: 176.3 kB / 1.153 GB, free: 17.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/1.208, allocations: 316.7 kB / 1.154 GB, free: 17.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.224e-05/1.208, allocations: 190 kB / 1.154 GB, free: 16.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.357e-05/1.208, allocations: 176.3 kB / 1.154 GB, free: 16.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-05/1.208, allocations: 104.6 kB / 1.154 GB, free: 16.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.979e-05/1.208, allocations: 183.6 kB / 1.154 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.102e-05/1.208, allocations: 101 kB / 1.154 GB, free: 16.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.882e-05/1.209, allocations: 101.6 kB / 1.154 GB, free: 16.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.209, allocations: 4 kB / 1.154 GB, free: 16.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0012/1.21, allocations: 325.2 kB / 1.155 GB, free: 16.2 MB / 0.698 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.001824/1.212, allocations: 1.202 MB / 1.156 GB, free: 15.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001228/1.212, allocations: 37.39 kB / 1.156 GB, free: 15.19 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.212, allocations: 7.25 kB / 1.156 GB, free: 15.19 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.818e-06/1.212, allocations: 4 kB / 1.156 GB, free: 15.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/1.212, allocations: 0.5286 MB / 1.156 GB, free: 14.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008821/1.213, allocations: 0.6021 MB / 1.157 GB, free: 14.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/1.213, allocations: 0.6846 MB / 1.158 GB, free: 13.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.69e-05/1.213, allocations: 4 kB / 1.158 GB, free: 13.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/1.213, allocations: 14.41 kB / 1.158 GB, free: 13.39 MB / 0.698 GB Notification: Performance of SimCode: time 7.82e-07/1.213, allocations: 0 / 1.158 GB, free: 13.39 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/1.242, allocations: 6.413 MB / 1.164 GB, free: 8.836 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002951/1.242, allocations: 317.4 kB / 1.164 GB, free: 8.469 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.731/3.973, allocations: 0 / 1.164 GB, free: 8.469 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)