Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.001173/0.001173, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00137/0.00137, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.018/1.018, allocations: 143.3 MB / 434.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003565, allocations: 12 kB / 0.516 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1962, allocations: 83.42 MB / 0.5974 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001673/0.1979, allocations: 1.121 MB / 0.5985 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003988/0.2019, allocations: 2.579 MB / 0.601 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.202, allocations: 0 / 0.601 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/0.202, allocations: 3.984 kB / 0.601 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.2021, allocations: 15.97 kB / 0.6011 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003123/0.2052, allocations: 1.239 MB / 0.6023 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.672e-05/0.2053, allocations: 27.95 kB / 0.6023 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.2054, allocations: 4 kB / 0.6023 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.41e-05/0.2054, allocations: 11.94 kB / 0.6023 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.147e-05/0.2054, allocations: 19.92 kB / 0.6023 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.2055, allocations: 0 / 0.6023 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.2072, allocations: 1.197 MB / 0.6035 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.2072, allocations: 7.938 kB / 0.6035 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.2073, allocations: 29.7 kB / 0.6035 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009178/0.2082, allocations: 0.7216 MB / 0.6042 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.2082, allocations: 0 / 0.6042 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2082, allocations: 0 / 0.6042 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2082, allocations: 0 / 0.6042 GB, free: 0.7383 MB / 0.4981 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.00055/0.2088, allocations: 0.5067 MB / 0.6047 GB, free: 188 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.2088, allocations: 8.031 kB / 0.6047 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.168e-05/0.2089, allocations: 113.8 kB / 0.6049 GB, free: 56 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3874/0.5962, allocations: 87.19 kB / 0.6049 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.5965, allocations: 246.3 kB / 0.6052 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.328e-05/0.5966, allocations: 157 kB / 0.6053 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.5966, allocations: 151.8 kB / 0.6055 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.864e-05/0.5967, allocations: 101 kB / 0.6056 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.5967, allocations: 75.94 kB / 0.6056 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.5967, allocations: 151.2 kB / 0.6058 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.5968, allocations: 156.2 kB / 0.6059 GB, free: 39.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.528e-05/0.5968, allocations: 156.6 kB / 0.6061 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.597, allocations: 468 kB / 0.6065 GB, free: 38.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.589e-05/0.5971, allocations: 169.4 kB / 0.6067 GB, free: 38.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.5971, allocations: 75.28 kB / 0.6068 GB, free: 38.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.5971, allocations: 109.6 kB / 0.6069 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.744e-06/0.5971, allocations: 0 / 0.6069 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.134e-05/0.5972, allocations: 39.52 kB / 0.6069 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.5972, allocations: 128.4 kB / 0.607 GB, free: 38.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.5974, allocations: 136.6 kB / 0.6071 GB, free: 38.35 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.5974, allocations: 26.98 kB / 0.6072 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.5974, allocations: 93.62 kB / 0.6073 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.5974, allocations: 0 / 0.6073 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.5975, allocations: 2.344 kB / 0.6073 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.516e-05/0.5975, allocations: 319.2 kB / 0.6076 GB, free: 37.92 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.459e-05/0.5975, allocations: 3.969 kB / 0.6076 GB, free: 37.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.698e-05/0.5976, allocations: 9.875 kB / 0.6076 GB, free: 37.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.875e-05/0.5976, allocations: 5.078 kB / 0.6076 GB, free: 37.92 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5976, allocations: 0 / 0.6076 GB, free: 37.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00013/0.5977, allocations: 56.23 kB / 0.6076 GB, free: 37.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.5978, allocations: 8.891 kB / 0.6077 GB, free: 37.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.5978, allocations: 11.3 kB / 0.6077 GB, free: 37.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.5978, allocations: 0 / 0.6077 GB, free: 37.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.5978, allocations: 0.5 kB / 0.6077 GB, free: 37.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.5978, allocations: 0 / 0.6077 GB, free: 37.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.603e-05/0.5979, allocations: 3.297 kB / 0.6077 GB, free: 37.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.5979, allocations: 5.797 kB / 0.6077 GB, free: 37.89 MB / 0.4981 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 6.362e-05/0.5979, allocations: 183.4 kB / 0.6078 GB, free: 37.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.598, allocations: 112 kB / 0.608 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/0.598, allocations: 121.5 kB / 0.6081 GB, free: 37.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.76e-05/0.5981, allocations: 185.7 kB / 0.6082 GB, free: 37.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-05/0.5981, allocations: 181.5 kB / 0.6084 GB, free: 37.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.703e-05/0.5981, allocations: 178.8 kB / 0.6086 GB, free: 36.94 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.5983, allocations: 411.6 kB / 0.609 GB, free: 36.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/0.5983, allocations: 106 kB / 0.6091 GB, free: 36.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.708e-05/0.5983, allocations: 105.5 kB / 0.6092 GB, free: 36.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.74e-05/0.5984, allocations: 188.6 kB / 0.6094 GB, free: 36.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.5984, allocations: 180.3 kB / 0.6095 GB, free: 35.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.688e-05/0.5984, allocations: 188.8 kB / 0.6097 GB, free: 35.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-05/0.5985, allocations: 180.8 kB / 0.6099 GB, free: 35.56 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.708e-05/0.5985, allocations: 307.5 kB / 0.6102 GB, free: 35.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.5986, allocations: 188.3 kB / 0.6104 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.5986, allocations: 181.8 kB / 0.6105 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.058e-05/0.5987, allocations: 104.3 kB / 0.6106 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.5987, allocations: 188.6 kB / 0.6108 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.5988, allocations: 106.2 kB / 0.6109 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.221e-05/0.5988, allocations: 101.1 kB / 0.611 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5988, allocations: 0 / 0.611 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008272/0.5996, allocations: 276.8 kB / 0.6113 GB, free: 34.39 MB / 0.4981 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.001034/0.6007, allocations: 1.137 MB / 0.6124 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.39e-05/0.6008, allocations: 39.02 kB / 0.6124 GB, free: 33.53 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6008, allocations: 1.5 kB / 0.6124 GB, free: 33.53 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.6008, allocations: 3.938 kB / 0.6124 GB, free: 33.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.6011, allocations: 0.5308 MB / 0.6129 GB, free: 33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005797/0.6017, allocations: 0.5588 MB / 0.6135 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.6018, allocations: 0.6882 MB / 0.6142 GB, free: 31.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.484e-05/0.6018, allocations: 2.734 kB / 0.6142 GB, free: 31.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.6019, allocations: 20.95 kB / 0.6142 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.6019, allocations: 0.9375 kB / 0.6142 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.6198, allocations: 6.842 MB / 0.6209 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/0.62, allocations: 279.7 kB / 0.6211 GB, free: 31.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.616, allocations: 7.75 kB / 0.6211 GB, free: 31.02 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) Environment - environmentSimulation: