Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8132/0.8132, allocations: 143.4 MB / 158.3 MB, free: 5.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 187.4 kB / 191.5 MB, free: 5.77 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.2 MB / 447.7 MB, free: 4.816 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 96.25 kB / 0.5188 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001761/0.001762, allocations: 275.8 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.000434, allocations: 14.31 kB / 0.6929 GB, free: 59.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1689, allocations: 82.79 MB / 0.7738 GB, free: 13.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6141/0.783, allocations: 129.4 MB / 0.9001 GB, free: 21.96 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005319/0.7836, allocations: 131.9 kB / 0.9003 GB, free: 21.96 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04454/0.8282, allocations: 15.26 MB / 0.9152 GB, free: 20.98 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8282, allocations: 0 / 0.9152 GB, free: 20.98 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.8282, allocations: 0 / 0.9152 GB, free: 20.98 MB / 0.5417 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.001099/0.8293, allocations: 0.5683 MB / 0.9157 GB, free: 20.46 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.8294, allocations: 12.41 kB / 0.9157 GB, free: 20.46 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.8294, allocations: 79.16 kB / 0.9158 GB, free: 20.39 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.8295, allocations: 249.8 kB / 0.916 GB, free: 20.11 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.8296, allocations: 150.6 kB / 0.9162 GB, free: 19.96 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.8296, allocations: 150.6 kB / 0.9163 GB, free: 19.81 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.508e-05/0.8297, allocations: 108.7 kB / 0.9164 GB, free: 19.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.8297, allocations: 79.28 kB / 0.9165 GB, free: 19.62 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.8297, allocations: 154.4 kB / 0.9167 GB, free: 19.48 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.8297, allocations: 150.6 kB / 0.9168 GB, free: 19.33 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.794e-05/0.8298, allocations: 154.6 kB / 0.9169 GB, free: 19.18 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.83, allocations: 468 kB / 0.9174 GB, free: 18.69 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.106e-05/0.8301, allocations: 176.5 kB / 0.9176 GB, free: 18.51 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.8301, allocations: 75.28 kB / 0.9176 GB, free: 18.44 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.8301, allocations: 109.6 kB / 0.9177 GB, free: 18.32 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.8301, allocations: 0 / 0.9177 GB, free: 18.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 6.529e-05/0.8302, allocations: 37.27 kB / 0.9178 GB, free: 18.29 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.8302, allocations: 130.7 kB / 0.9179 GB, free: 18.15 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.8303, allocations: 121.1 kB / 0.918 GB, free: 18.05 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.854e-06/0.8303, allocations: 25.7 kB / 0.918 GB, free: 18.02 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.8304, allocations: 95.39 kB / 0.9181 GB, free: 17.94 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/0.8304, allocations: 3.875 kB / 0.9181 GB, free: 17.94 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.8304, allocations: 0 / 0.9181 GB, free: 17.94 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.961e-05/0.8305, allocations: 314.4 kB / 0.9184 GB, free: 17.62 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.092e-05/0.8305, allocations: 15.66 kB / 0.9184 GB, free: 17.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.286e-05/0.8305, allocations: 7.875 kB / 0.9185 GB, free: 17.61 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.537e-05/0.8305, allocations: 3.906 kB / 0.9185 GB, free: 17.61 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.8305, allocations: 0 / 0.9185 GB, free: 17.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001056/0.8306, allocations: 52.75 kB / 0.9185 GB, free: 17.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.8307, allocations: 5.938 kB / 0.9185 GB, free: 17.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.8307, allocations: 3.938 kB / 0.9185 GB, free: 17.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.8307, allocations: 0 / 0.9185 GB, free: 17.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.8307, allocations: 0 / 0.9185 GB, free: 17.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.8307, allocations: 0 / 0.9185 GB, free: 17.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.8307, allocations: 3.844 kB / 0.9185 GB, free: 17.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.8308, allocations: 64 / 0.9185 GB, free: 17.57 MB / 0.5417 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.478e-05/0.8308, allocations: 185.1 kB / 0.9187 GB, free: 17.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.8309, allocations: 116.7 kB / 0.9188 GB, free: 17.27 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.8309, allocations: 120.2 kB / 0.9189 GB, free: 17.16 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006934/0.8316, allocations: 180.2 kB / 0.9191 GB, free: 32.97 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.085e-05/0.8317, allocations: 176.3 kB / 0.9193 GB, free: 32.79 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.412e-05/0.8318, allocations: 184.2 kB / 0.9194 GB, free: 32.61 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.832, allocations: 416.3 kB / 0.9198 GB, free: 32.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-05/0.832, allocations: 101 kB / 0.9199 GB, free: 32.06 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.8321, allocations: 108.9 kB / 0.92 GB, free: 31.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.879e-05/0.8322, allocations: 184.2 kB / 0.9202 GB, free: 31.76 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.551e-05/0.8322, allocations: 183.8 kB / 0.9204 GB, free: 31.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.306e-05/0.8323, allocations: 184.1 kB / 0.9206 GB, free: 31.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.928e-05/0.8324, allocations: 180.2 kB / 0.9207 GB, free: 31.21 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.8325, allocations: 307.3 kB / 0.921 GB, free: 30.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.057e-05/0.8326, allocations: 185.8 kB / 0.9212 GB, free: 30.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.223e-05/0.8327, allocations: 188.2 kB / 0.9214 GB, free: 30.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.041e-05/0.8328, allocations: 101 kB / 0.9215 GB, free: 30.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.057e-05/0.8329, allocations: 184.1 kB / 0.9217 GB, free: 30.21 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.8329, allocations: 108.4 kB / 0.9218 GB, free: 30.11 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.053e-05/0.833, allocations: 97.89 kB / 0.9219 GB, free: 30.04 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.11e-07/0.833, allocations: 0 / 0.9219 GB, free: 30.04 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001306/0.8343, allocations: 320 kB / 0.9222 GB, free: 29.95 MB / 0.5573 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.001168/0.8355, allocations: 0.5764 MB / 0.9227 GB, free: 29.67 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.8356, allocations: 37.39 kB / 0.9228 GB, free: 29.63 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8356, allocations: 0 / 0.9228 GB, free: 29.63 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.8356, allocations: 3.562 kB / 0.9228 GB, free: 29.63 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.836, allocations: 0.5259 MB / 0.9233 GB, free: 29.11 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.8363, allocations: 260.9 kB / 0.9235 GB, free: 28.89 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.8366, allocations: 0.6911 MB / 0.9242 GB, free: 28.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.417e-05/0.8366, allocations: 3.906 kB / 0.9242 GB, free: 28.19 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.143e-05/0.8366, allocations: 7.438 kB / 0.9242 GB, free: 28.18 MB / 0.5573 GB Notification: Performance of SimCode: time 3.61e-07/0.8367, allocations: 0 / 0.9242 GB, free: 28.18 MB / 0.5573 GB Notification: Performance of Templates: time 0.008088/0.8448, allocations: 5.226 MB / 0.9293 GB, free: 26.15 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)