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.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/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.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0009471/0.0009471, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001141/0.001141, allocations: 168.7 kB / 15.95 MB, free: 204 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.479/1.479, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.21/1.21, allocations: 143.4 MB / 434.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003422, allocations: 8 kB / 0.5162 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1796, allocations: 83.41 MB / 0.5976 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001644/0.1813, allocations: 1.13 MB / 0.5987 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004622/0.1859, allocations: 2.614 MB / 0.6013 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.186, allocations: 3.938 kB / 0.6013 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.161e-05/0.186, allocations: 4 kB / 0.6013 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.062e-05/0.1861, allocations: 19.84 kB / 0.6013 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003729/0.1899, allocations: 1.231 MB / 0.6025 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.418e-05/0.19, allocations: 31.75 kB / 0.6025 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.108e-05/0.19, allocations: 11.98 kB / 0.6025 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.528e-05/0.1901, allocations: 11.94 kB / 0.6025 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.077e-05/0.1901, allocations: 7.938 kB / 0.6026 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.1901, allocations: 8 kB / 0.6026 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.1927, allocations: 1.213 MB / 0.6037 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.1927, allocations: 0 / 0.6037 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.872e-05/0.1928, allocations: 37.62 kB / 0.6038 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.194, allocations: 0.6904 MB / 0.6045 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.194, allocations: 0 / 0.6045 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.194, allocations: 0 / 0.6045 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.194, allocations: 0 / 0.6045 GB, free: 0.6211 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.0006245/0.1946, allocations: 0.5067 MB / 0.605 GB, free: 68 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.1947, allocations: 12.03 kB / 0.605 GB, free: 56 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.366/0.5607, allocations: 105.8 kB / 0.6051 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.848e-05/0.5608, allocations: 80.36 kB / 0.6051 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.5609, allocations: 249.8 kB / 0.6054 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.561, allocations: 152.5 kB / 0.6055 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.561, allocations: 154.8 kB / 0.6057 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.449e-05/0.5611, allocations: 102.8 kB / 0.6058 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.5611, allocations: 83.39 kB / 0.6059 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.5611, allocations: 153.1 kB / 0.606 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.5611, allocations: 152.1 kB / 0.6061 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.477e-05/0.5612, allocations: 154.6 kB / 0.6063 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.5614, allocations: 462.9 kB / 0.6067 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.757e-05/0.5615, allocations: 175.5 kB / 0.6069 GB, free: 38.85 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.5615, allocations: 80.73 kB / 0.607 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.5615, allocations: 78.72 kB / 0.6071 GB, free: 38.69 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.5615, allocations: 109.4 kB / 0.6072 GB, free: 38.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.974e-06/0.5615, allocations: 1.062 kB / 0.6072 GB, free: 38.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.433e-05/0.5616, allocations: 30.62 kB / 0.6072 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.5617, allocations: 127.3 kB / 0.6073 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.5618, allocations: 136.7 kB / 0.6074 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.632e-06/0.5618, allocations: 26.48 kB / 0.6075 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.5618, allocations: 88.39 kB / 0.6075 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-06/0.5619, allocations: 5.156 kB / 0.6076 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.5619, allocations: 0.5312 kB / 0.6076 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.771e-05/0.5619, allocations: 317.7 kB / 0.6079 GB, free: 37.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.111e-05/0.5619, allocations: 6.219 kB / 0.6079 GB, free: 37.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.053e-05/0.562, allocations: 6.031 kB / 0.6079 GB, free: 37.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.958e-05/0.562, allocations: 7.75 kB / 0.6079 GB, free: 37.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.562, allocations: 0.75 kB / 0.6079 GB, free: 37.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001322/0.5622, allocations: 51.42 kB / 0.6079 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.5622, allocations: 8.547 kB / 0.6079 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/0.5622, allocations: 2.656 kB / 0.6079 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.5622, allocations: 1 kB / 0.6079 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.434e-06/0.5622, allocations: 0.625 kB / 0.6079 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.5622, allocations: 5.438 kB / 0.6079 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.5623, allocations: 4.719 kB / 0.6079 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.5623, allocations: 2.938 kB / 0.6079 GB, free: 37.84 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.668e-05/0.5624, allocations: 191.6 kB / 0.6081 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.5624, allocations: 114 kB / 0.6082 GB, free: 37.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.5624, allocations: 112.4 kB / 0.6083 GB, free: 37.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.5625, allocations: 184 kB / 0.6085 GB, free: 37.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.119e-05/0.5625, allocations: 180.5 kB / 0.6087 GB, free: 37.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.307e-05/0.5625, allocations: 181.1 kB / 0.6089 GB, free: 36.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.5627, allocations: 410.8 kB / 0.6093 GB, free: 36.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.5627, allocations: 107 kB / 0.6094 GB, free: 36.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/0.5628, allocations: 107.4 kB / 0.6095 GB, free: 36.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.641e-05/0.5628, allocations: 187 kB / 0.6096 GB, free: 36.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.5628, allocations: 180.2 kB / 0.6098 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.453e-05/0.5628, allocations: 181.9 kB / 0.61 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.286e-05/0.5629, allocations: 180.3 kB / 0.6102 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.445e-05/0.5629, allocations: 310.2 kB / 0.6105 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.563, allocations: 190 kB / 0.6106 GB, free: 35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.563, allocations: 182.6 kB / 0.6108 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.5631, allocations: 103.6 kB / 0.6109 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.5632, allocations: 184 kB / 0.6111 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.5632, allocations: 107.3 kB / 0.6112 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.151e-05/0.5632, allocations: 95.11 kB / 0.6113 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5632, allocations: 0 / 0.6113 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008333/0.5641, allocations: 275.8 kB / 0.6115 GB, free: 34.34 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.0009519/0.565, allocations: 1.137 MB / 0.6127 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.958e-05/0.5651, allocations: 37.64 kB / 0.6127 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5651, allocations: 0 / 0.6127 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.5651, allocations: 0 / 0.6127 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.5655, allocations: 0.5364 MB / 0.6132 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007207/0.5662, allocations: 0.6783 MB / 0.6139 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.5663, allocations: 0.6778 MB / 0.6145 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.305e-05/0.5664, allocations: 2.875 kB / 0.6145 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.5664, allocations: 18.98 kB / 0.6146 GB, free: 31.78 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.5664, allocations: 0 / 0.6146 GB, free: 31.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.584, allocations: 6.708 MB / 0.6211 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/0.5842, allocations: 289.6 kB / 0.6214 GB, free: 30.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/2.847, allocations: 0.8438 kB / 0.6214 GB, free: 30.96 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) Environment - environmentSimulation: