Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_11_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_11_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005523/0.005523, allocations: 98.97 kB / 15.73 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 201.5 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.493/2.493, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 59.91 kB / 1.065 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6471/0.6489, allocations: 159.1 MB / 1.22 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002298/0.6513, allocations: 1.434 MB / 1.222 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003954/0.6552, allocations: 2.864 MB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.6553, allocations: 0 / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.6553, allocations: 3.938 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.736e-05/0.6554, allocations: 19.84 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003363/0.6588, allocations: 1.552 MB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.876e-05/0.6588, allocations: 43.73 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.191e-05/0.6589, allocations: 7.906 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.451e-05/0.6589, allocations: 15.91 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.524e-05/0.6589, allocations: 15.88 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.659, allocations: 4 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002028/0.661, allocations: 1.482 MB / 1.228 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.661, allocations: 4 kB / 1.228 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.661, allocations: 19.81 kB / 1.228 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.6624, allocations: 1.095 MB / 1.229 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6624, allocations: 0 / 1.229 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6624, allocations: 0 / 1.229 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.6624, allocations: 0 / 1.229 GB, free: 9.418 MB / 0.9512 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.0005633/0.663, allocations: 0.5247 MB / 1.229 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.663, allocations: 12.03 kB / 1.229 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.477e-05/0.6631, allocations: 114 kB / 1.229 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.336e-05/0.6631, allocations: 80.17 kB / 1.229 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.6633, allocations: 251.6 kB / 1.23 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/0.6634, allocations: 154.9 kB / 1.23 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.323e-05/0.6634, allocations: 158.9 kB / 1.23 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.267e-05/0.6635, allocations: 104.9 kB / 1.23 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.6635, allocations: 75.28 kB / 1.23 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-05/0.6636, allocations: 154.6 kB / 1.23 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.469e-05/0.6637, allocations: 154.6 kB / 1.23 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.527e-05/0.6637, allocations: 150.6 kB / 1.23 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.664, allocations: 461.9 kB / 1.231 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.298e-05/0.6641, allocations: 173 kB / 1.231 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.314e-05/0.6642, allocations: 88.14 kB / 1.231 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.6642, allocations: 79.22 kB / 1.231 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.6643, allocations: 105.8 kB / 1.231 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.6643, allocations: 0 / 1.231 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 6.722e-05/0.6643, allocations: 37.59 kB / 1.231 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.6644, allocations: 126.7 kB / 1.231 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.6645, allocations: 136.3 kB / 1.232 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.6646, allocations: 25.7 kB / 1.232 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.6646, allocations: 96.12 kB / 1.232 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.6646, allocations: 0 / 1.232 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.6647, allocations: 13.72 kB / 1.232 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.6648, allocations: 318.8 kB / 1.232 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.6648, allocations: 4 kB / 1.232 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.522e-05/0.6648, allocations: 4 kB / 1.232 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.565e-05/0.6649, allocations: 16.89 kB / 1.232 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6649, allocations: 0 / 1.232 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001142/0.665, allocations: 61.55 kB / 1.232 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.665, allocations: 4 kB / 1.232 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.665, allocations: 8 kB / 1.232 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.6651, allocations: 0 / 1.232 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.6651, allocations: 0 / 1.232 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.6651, allocations: 0 / 1.232 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.6651, allocations: 0 / 1.232 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.6651, allocations: 0 / 1.232 GB, free: 5.547 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.6652, allocations: 192.1 kB / 1.232 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/0.6653, allocations: 120.9 kB / 1.232 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.507e-05/0.6654, allocations: 108.8 kB / 1.233 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.987e-05/0.6654, allocations: 184.3 kB / 1.233 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-05/0.6655, allocations: 184.2 kB / 1.233 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-05/0.6656, allocations: 180.2 kB / 1.233 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.6658, allocations: 417.1 kB / 1.233 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.049e-05/0.6659, allocations: 108.9 kB / 1.234 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.985e-05/0.6659, allocations: 101 kB / 1.234 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.934e-05/0.666, allocations: 184.2 kB / 1.234 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-05/0.6661, allocations: 180.2 kB / 1.234 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.241e-05/0.6661, allocations: 192.2 kB / 1.234 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-05/0.6662, allocations: 180.2 kB / 1.234 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.6663, allocations: 311.7 kB / 1.235 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-05/0.6664, allocations: 190 kB / 1.235 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.603e-05/0.6665, allocations: 180.3 kB / 1.235 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.893e-05/0.6666, allocations: 104.9 kB / 1.235 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/0.6667, allocations: 180.3 kB / 1.235 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/0.6667, allocations: 112.9 kB / 1.235 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.772e-05/0.6668, allocations: 100.8 kB / 1.235 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6668, allocations: 0 / 1.235 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006458/0.6674, allocations: 287 kB / 1.236 GB, free: 1.605 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00122/0.6687, allocations: 1.161 MB / 1.237 GB, free: 428 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.294e-05/0.6688, allocations: 41.64 kB / 1.237 GB, free: 380 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6688, allocations: 0 / 1.237 GB, free: 380 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.734e-06/0.6688, allocations: 4.062 kB / 1.237 GB, free: 376 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.6692, allocations: 463.7 kB / 1.237 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.6705, allocations: 1.583 MB / 1.239 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.6708, allocations: 0.6846 MB / 1.24 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.199e-05/0.6708, allocations: 0 / 1.24 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.6709, allocations: 15.42 kB / 1.24 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.6709, allocations: 3.938 kB / 1.24 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.21/1.881, allocations: 6.89 MB / 1.246 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/16.19, allocations: 12.66 kB / 1.246 GB, free: 6.836 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)