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: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001006, allocations: 100.2 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.001225/0.001225, 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.4/1.4, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.033/1.033, allocations: 143.3 MB / 434.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003266, allocations: 8 kB / 0.5159 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.196, allocations: 83.41 MB / 0.5973 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001527/0.1976, allocations: 1.121 MB / 0.5984 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003971/0.2016, allocations: 2.571 MB / 0.601 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.2016, allocations: 0 / 0.601 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.2017, allocations: 11.92 kB / 0.601 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.366e-05/0.2018, allocations: 15.91 kB / 0.601 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003766/0.2055, allocations: 1.232 MB / 0.6022 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.2056, allocations: 35.89 kB / 0.6022 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.753e-05/0.2057, allocations: 7.984 kB / 0.6022 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.28e-05/0.2058, allocations: 15.92 kB / 0.6022 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.813e-05/0.2058, allocations: 15.94 kB / 0.6023 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.2058, allocations: 4 kB / 0.6023 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.2082, allocations: 1.19 MB / 0.6034 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.2082, allocations: 8 kB / 0.6034 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.175e-05/0.2083, allocations: 29.64 kB / 0.6035 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.2095, allocations: 0.7255 MB / 0.6042 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2095, allocations: 0 / 0.6042 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.178e-06/0.2095, allocations: 0 / 0.6042 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.2096, allocations: 8 kB / 0.6042 GB, free: 0.8438 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.0007102/0.2103, allocations: 0.5066 MB / 0.6047 GB, free: 296 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.2103, allocations: 12.03 kB / 0.6047 GB, free: 284 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.712e-05/0.2104, allocations: 79.19 kB / 0.6048 GB, free: 204 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3385/0.549, allocations: 246.9 kB / 0.605 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.494e-05/0.549, allocations: 151.1 kB / 0.6051 GB, free: 40.56 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.5491, allocations: 157.5 kB / 0.6053 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.842e-05/0.5492, allocations: 105.8 kB / 0.6054 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.5492, allocations: 76.56 kB / 0.6055 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.5492, allocations: 155.1 kB / 0.6056 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.773e-05/0.5492, allocations: 153 kB / 0.6058 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.507e-05/0.5493, allocations: 151.4 kB / 0.6059 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.5495, allocations: 467.9 kB / 0.6063 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.65e-05/0.5496, allocations: 173.8 kB / 0.6065 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.5496, allocations: 75.28 kB / 0.6066 GB, free: 39.06 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.5496, allocations: 108.8 kB / 0.6067 GB, free: 38.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/0.5497, allocations: 2.281 kB / 0.6067 GB, free: 38.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 9.346e-05/0.5498, allocations: 32.19 kB / 0.6067 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.5498, allocations: 126.7 kB / 0.6068 GB, free: 38.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.5499, allocations: 137.3 kB / 0.607 GB, free: 38.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.55, allocations: 26.39 kB / 0.607 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.55, allocations: 95.38 kB / 0.6071 GB, free: 38.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-06/0.55, allocations: 1.5 kB / 0.6071 GB, free: 38.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-06/0.55, allocations: 0 / 0.6071 GB, free: 38.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.981e-05/0.5501, allocations: 319.4 kB / 0.6074 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/0.5501, allocations: 8.719 kB / 0.6074 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.619e-05/0.5501, allocations: 6.75 kB / 0.6074 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.802e-05/0.5502, allocations: 7.562 kB / 0.6074 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5502, allocations: 1.969 kB / 0.6074 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000136/0.5503, allocations: 49.56 kB / 0.6075 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.5503, allocations: 6.031 kB / 0.6075 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.5504, allocations: 5.5 kB / 0.6075 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.5504, allocations: 4.547 kB / 0.6075 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.784e-06/0.5504, allocations: 1 kB / 0.6075 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.5504, allocations: 1.297 kB / 0.6075 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.887e-05/0.5504, allocations: 2.812 kB / 0.6075 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.5505, allocations: 2.125 kB / 0.6075 GB, free: 38.22 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.728e-05/0.5505, allocations: 191 kB / 0.6077 GB, free: 38.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.5506, allocations: 114.8 kB / 0.6078 GB, free: 37.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.5506, allocations: 112.9 kB / 0.6079 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.541e-05/0.5506, allocations: 185.6 kB / 0.6081 GB, free: 37.63 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.721e-05/0.5507, allocations: 180.7 kB / 0.6082 GB, free: 37.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-05/0.5507, allocations: 180.7 kB / 0.6084 GB, free: 37.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.5509, allocations: 417.2 kB / 0.6088 GB, free: 36.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.5509, allocations: 103.6 kB / 0.6089 GB, free: 36.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.585e-05/0.5509, allocations: 108.6 kB / 0.609 GB, free: 36.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.321e-05/0.5509, allocations: 176.3 kB / 0.6092 GB, free: 36.44 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.551, allocations: 190.6 kB / 0.6094 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.392e-05/0.551, allocations: 178.9 kB / 0.6095 GB, free: 36.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-05/0.551, allocations: 185.7 kB / 0.6097 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.595e-05/0.5511, allocations: 307.5 kB / 0.61 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.5511, allocations: 187.8 kB / 0.6102 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.5512, allocations: 186.8 kB / 0.6104 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.335e-05/0.5512, allocations: 105.4 kB / 0.6105 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.5513, allocations: 182.4 kB / 0.6106 GB, free: 34.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.5513, allocations: 106 kB / 0.6107 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.761e-05/0.5514, allocations: 105.8 kB / 0.6108 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5514, allocations: 3.969 kB / 0.6108 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009236/0.5523, allocations: 276 kB / 0.6111 GB, free: 34.73 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.0008652/0.5532, allocations: 0.4922 MB / 0.6116 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.865e-05/0.5533, allocations: 43.02 kB / 0.6116 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5533, allocations: 6.625 kB / 0.6116 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.5533, allocations: 0 / 0.6116 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.5536, allocations: 0.5224 MB / 0.6121 GB, free: 34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.5539, allocations: 268.2 kB / 0.6124 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.554, allocations: 0.6919 MB / 0.6131 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.429e-05/0.554, allocations: 0 / 0.6131 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.028e-05/0.554, allocations: 10.84 kB / 0.6131 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.554, allocations: 0 / 0.6131 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of Templates: time 0.008206/0.5622, allocations: 5.652 MB / 0.6186 GB, free: 32.71 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile Environment - environmentSimulation: (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) Environment - environmentSimulation: