Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006574/0.006574, allocations: 100.8 kB / 15.73 MB, free: 6.035 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.001497/0.001497, allocations: 198.4 kB / 16.68 MB, free: 5.953 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.155/2.155, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.91 kB / 0.9505 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6328/0.634, allocations: 140.4 MB / 1.088 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001756/0.6358, allocations: 1.431 MB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00303/0.6388, allocations: 2.844 MB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.356e-05/0.6389, allocations: 0 / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.6389, allocations: 6.312 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.432e-05/0.6389, allocations: 15.28 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00277/0.6417, allocations: 1.565 MB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.735e-05/0.6418, allocations: 48.62 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 2.869e-05/0.6418, allocations: 3.078 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.079e-05/0.6418, allocations: 13.39 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.166e-05/0.6419, allocations: 16.19 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.336e-06/0.6419, allocations: 5.875 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.6437, allocations: 1.486 MB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.6437, allocations: 14.52 kB / 1.095 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.6438, allocations: 11.81 kB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.6451, allocations: 1.073 MB / 1.096 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.6451, allocations: 0 / 1.096 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.12e-07/0.6451, allocations: 0.8125 kB / 1.096 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.6451, allocations: 0 / 1.096 GB, free: 0.6875 MB / 0.8575 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.0004103/0.6455, allocations: 0.5168 MB / 1.096 GB, free: 204 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.6455, allocations: 10.53 kB / 1.096 GB, free: 204 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.225e-05/0.6456, allocations: 110.6 kB / 1.096 GB, free: 84 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.6456, allocations: 81.81 kB / 1.097 GB, free: 4 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.6458, allocations: 249.8 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/0.6458, allocations: 151.8 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.6459, allocations: 156.4 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.922e-05/0.6459, allocations: 109.7 kB / 1.097 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.6459, allocations: 75.28 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.031e-05/0.646, allocations: 152 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.475e-05/0.646, allocations: 150.6 kB / 1.098 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.356e-05/0.6461, allocations: 155.6 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.6463, allocations: 469.7 kB / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 5.636e-05/0.6464, allocations: 166.2 kB / 1.098 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.6464, allocations: 81.23 kB / 1.098 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.6464, allocations: 79.22 kB / 1.098 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.6465, allocations: 115.7 kB / 1.099 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.6465, allocations: 0 / 1.099 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 5.923e-05/0.6465, allocations: 40.7 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.6466, allocations: 127.3 kB / 1.099 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.6467, allocations: 129.1 kB / 1.099 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.6467, allocations: 25.7 kB / 1.099 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.6468, allocations: 96.11 kB / 1.099 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.6468, allocations: 0 / 1.099 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.6468, allocations: 19.91 kB / 1.099 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.657e-05/0.6469, allocations: 318.6 kB / 1.099 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.934e-05/0.6469, allocations: 3.719 kB / 1.099 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.416e-05/0.6469, allocations: 4.453 kB / 1.099 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.312e-05/0.647, allocations: 22.14 kB / 1.099 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.647, allocations: 0 / 1.099 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001025/0.6471, allocations: 49.91 kB / 1.099 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.6471, allocations: 6.062 kB / 1.099 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.6471, allocations: 2.031 kB / 1.099 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.6471, allocations: 8.812 kB / 1.099 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.6472, allocations: 5.062 kB / 1.099 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.6472, allocations: 0 / 1.099 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.6472, allocations: 4.906 kB / 1.099 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.6472, allocations: 1.594 kB / 1.099 GB, free: 13.02 MB / 0.8731 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 7.299e-05/0.6473, allocations: 184 kB / 1.1 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.6473, allocations: 116.3 kB / 1.1 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.45e-05/0.6474, allocations: 112.3 kB / 1.1 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.801e-05/0.6474, allocations: 186.2 kB / 1.1 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.544e-05/0.6475, allocations: 181.9 kB / 1.1 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-05/0.6475, allocations: 177.9 kB / 1.1 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.6477, allocations: 416.6 kB / 1.101 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.792e-05/0.6478, allocations: 106.5 kB / 1.101 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.958e-05/0.6478, allocations: 106.4 kB / 1.101 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.784e-05/0.6478, allocations: 182.8 kB / 1.101 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.301e-05/0.6479, allocations: 177.6 kB / 1.101 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.72e-05/0.6479, allocations: 181.8 kB / 1.101 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.416e-05/0.648, allocations: 177.9 kB / 1.102 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.6481, allocations: 319.2 kB / 1.102 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.849e-05/0.6482, allocations: 184.8 kB / 1.102 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.675e-05/0.6482, allocations: 182.7 kB / 1.102 GB, free: 9.938 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.273e-05/0.6483, allocations: 102.6 kB / 1.102 GB, free: 9.832 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.6484, allocations: 185.8 kB / 1.103 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.6484, allocations: 106.7 kB / 1.103 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.2e-05/0.6484, allocations: 101.4 kB / 1.103 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6484, allocations: 0 / 1.103 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005964/0.649, allocations: 276.9 kB / 1.103 GB, free: 9.387 MB / 0.8731 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.001077/0.6501, allocations: 1.163 MB / 1.104 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.389e-05/0.6502, allocations: 38.56 kB / 1.104 GB, free: 8.434 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6502, allocations: 0 / 1.104 GB, free: 8.434 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.6502, allocations: 1.312 kB / 1.104 GB, free: 8.434 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.6506, allocations: 466.7 kB / 1.105 GB, free: 7.98 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.6517, allocations: 1.566 MB / 1.106 GB, free: 6.559 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.6519, allocations: 0.682 MB / 1.107 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.458e-06/0.6519, allocations: 0 / 1.107 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.6519, allocations: 14.62 kB / 1.107 GB, free: 5.852 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.6519, allocations: 1.156 kB / 1.107 GB, free: 5.852 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.004/2.656, allocations: 6.884 MB / 1.114 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/12.84, allocations: 7.812 kB / 1.114 GB, free: 5.113 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)