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.0008978/0.0008979, allocations: 99.31 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.000917/0.0009171, allocations: 177.3 kB / 15.95 MB, free: 216 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.408/1.408, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.029/1.029, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003181, allocations: 8 kB / 0.516 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1844, allocations: 83.41 MB / 0.5974 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001449/0.1859, allocations: 1.119 MB / 0.5985 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003431/0.1893, allocations: 2.544 MB / 0.601 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.54e-05/0.1893, allocations: 0 / 0.601 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.944e-05/0.1894, allocations: 0 / 0.601 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.785e-05/0.1894, allocations: 19.95 kB / 0.601 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002897/0.1923, allocations: 1.208 MB / 0.6022 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.238e-05/0.1924, allocations: 31.89 kB / 0.6022 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.1925, allocations: 4 kB / 0.6022 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.76e-05/0.1925, allocations: 15.91 kB / 0.6022 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.905e-05/0.1925, allocations: 11.94 kB / 0.6023 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.1926, allocations: 4 kB / 0.6023 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.1942, allocations: 1.162 MB / 0.6034 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.1942, allocations: 0 / 0.6034 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.1942, allocations: 41.64 kB / 0.6034 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008511/0.1951, allocations: 0.6943 MB / 0.6041 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.1951, allocations: 0 / 0.6041 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1951, allocations: 0 / 0.6041 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.1951, allocations: 0 / 0.6041 GB, free: 0.7969 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.0005297/0.1957, allocations: 0.5145 MB / 0.6046 GB, free: 240 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1957, allocations: 8.031 kB / 0.6046 GB, free: 232 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/0.1958, allocations: 105.8 kB / 0.6047 GB, free: 116 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.578e-05/0.1958, allocations: 87.14 kB / 0.6048 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3597/0.5555, allocations: 244.9 kB / 0.605 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.5556, allocations: 155 kB / 0.6052 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/0.5556, allocations: 152.6 kB / 0.6053 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.643e-05/0.5557, allocations: 105.7 kB / 0.6054 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.5557, allocations: 77.38 kB / 0.6055 GB, free: 39.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.5558, allocations: 150.6 kB / 0.6057 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.5558, allocations: 154.6 kB / 0.6058 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.721e-05/0.5558, allocations: 156.2 kB / 0.6059 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002297/0.5561, allocations: 460.1 kB / 0.6064 GB, free: 38.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.77e-05/0.5561, allocations: 178.7 kB / 0.6066 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.5561, allocations: 76.81 kB / 0.6066 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.5562, allocations: 107.7 kB / 0.6067 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.5562, allocations: 0 / 0.6067 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.286e-05/0.5563, allocations: 31.23 kB / 0.6068 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.5563, allocations: 133.7 kB / 0.6069 GB, free: 38.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.5564, allocations: 136.5 kB / 0.607 GB, free: 38.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.5565, allocations: 27.02 kB / 0.607 GB, free: 38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.5565, allocations: 94.5 kB / 0.6071 GB, free: 37.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.5565, allocations: 0 / 0.6071 GB, free: 37.92 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.5565, allocations: 0 / 0.6071 GB, free: 37.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.743e-05/0.5566, allocations: 319.9 kB / 0.6074 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.327e-05/0.5566, allocations: 3.844 kB / 0.6074 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.491e-05/0.5566, allocations: 4.156 kB / 0.6075 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.832e-05/0.5567, allocations: 4.969 kB / 0.6075 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5567, allocations: 0.6562 kB / 0.6075 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001332/0.5568, allocations: 50.28 kB / 0.6075 GB, free: 37.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.5568, allocations: 5.984 kB / 0.6075 GB, free: 37.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.5569, allocations: 2.469 kB / 0.6075 GB, free: 37.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.5569, allocations: 9.375 kB / 0.6075 GB, free: 37.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.5569, allocations: 0 / 0.6075 GB, free: 37.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.5569, allocations: 0 / 0.6075 GB, free: 37.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.633e-05/0.5569, allocations: 7.469 kB / 0.6075 GB, free: 37.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.557, allocations: 1.531 kB / 0.6075 GB, free: 37.57 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 7.056e-05/0.557, allocations: 188 kB / 0.6077 GB, free: 37.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.5571, allocations: 107 kB / 0.6078 GB, free: 37.28 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.5571, allocations: 117.9 kB / 0.6079 GB, free: 37.17 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.741e-05/0.5572, allocations: 185.5 kB / 0.6081 GB, free: 36.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.818e-05/0.5572, allocations: 180.5 kB / 0.6083 GB, free: 36.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.893e-05/0.5572, allocations: 183.2 kB / 0.6084 GB, free: 36.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.5574, allocations: 416.3 kB / 0.6088 GB, free: 36.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/0.5574, allocations: 102.8 kB / 0.6089 GB, free: 36.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.613e-05/0.5574, allocations: 105.9 kB / 0.609 GB, free: 35.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.533e-05/0.5574, allocations: 179.5 kB / 0.6092 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.5575, allocations: 185.6 kB / 0.6094 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.733e-05/0.5575, allocations: 183.6 kB / 0.6096 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-05/0.5575, allocations: 185.7 kB / 0.6097 GB, free: 35.24 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.876e-05/0.5576, allocations: 308.9 kB / 0.61 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.236e-05/0.5577, allocations: 190 kB / 0.6102 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.5577, allocations: 179.4 kB / 0.6104 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.054e-05/0.5578, allocations: 108.9 kB / 0.6105 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.5578, allocations: 184.9 kB / 0.6107 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.5578, allocations: 106.2 kB / 0.6108 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.113e-05/0.5579, allocations: 99.28 kB / 0.6109 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5579, allocations: 0 / 0.6109 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008274/0.5587, allocations: 276.2 kB / 0.6111 GB, free: 34.06 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.0009911/0.5597, allocations: 1.123 MB / 0.6122 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.5598, allocations: 44.03 kB / 0.6123 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5599, allocations: 0 / 0.6123 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.5599, allocations: 0.7812 kB / 0.6123 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.5601, allocations: 0.5325 MB / 0.6128 GB, free: 32.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005847/0.5607, allocations: 0.5495 MB / 0.6133 GB, free: 32.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.5608, allocations: 0.6911 MB / 0.614 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.245e-05/0.5609, allocations: 3.656 kB / 0.614 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.5609, allocations: 17.06 kB / 0.614 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.5609, allocations: 3.938 kB / 0.614 GB, free: 31.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.5806, allocations: 6.64 MB / 0.6205 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.5808, allocations: 284.2 kB / 0.6208 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.485, allocations: 0 / 0.6208 GB, free: 30.71 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: