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.7796/0.7796, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.00103, allocations: 186.3 kB / 187.3 MB, free: 11.88 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.529/1.529, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.001008/0.001008, allocations: 105 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001836/0.001836, allocations: 282.2 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.387e-05/3.389e-05, allocations: 8 kB / 0.6835 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4478, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.5987, allocations: 129.3 MB / 0.8906 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/0.5991, allocations: 131.7 kB / 0.8908 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.04649/0.6456, allocations: 15.18 MB / 0.9056 GB, free: 11.86 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6456, allocations: 0 / 0.9056 GB, free: 11.86 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.6456, allocations: 0 / 0.9056 GB, free: 11.86 MB / 0.573 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.001021/0.6467, allocations: 0.5411 MB / 0.9061 GB, free: 11.27 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.6467, allocations: 8.031 kB / 0.9061 GB, free: 11.27 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.618e-05/0.6468, allocations: 83.19 kB / 0.9062 GB, free: 11.18 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.647, allocations: 255.5 kB / 0.9064 GB, free: 10.89 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/0.6471, allocations: 150.6 kB / 0.9066 GB, free: 10.75 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.489e-05/0.6472, allocations: 158.6 kB / 0.9067 GB, free: 10.59 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.986e-05/0.6472, allocations: 104.9 kB / 0.9068 GB, free: 10.48 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.781e-05/0.6473, allocations: 79.28 kB / 0.9069 GB, free: 10.4 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.824e-05/0.6473, allocations: 150.6 kB / 0.9071 GB, free: 10.25 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.042e-05/0.6474, allocations: 150.6 kB / 0.9072 GB, free: 10.11 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.885e-05/0.6475, allocations: 154.6 kB / 0.9073 GB, free: 9.953 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.6478, allocations: 465.9 kB / 0.9078 GB, free: 9.449 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.268e-05/0.6479, allocations: 169.1 kB / 0.9079 GB, free: 9.273 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.648, allocations: 80.14 kB / 0.908 GB, free: 9.191 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.648, allocations: 83.28 kB / 0.9081 GB, free: 9.109 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.758e-05/0.6481, allocations: 113.7 kB / 0.9082 GB, free: 8.988 MB / 0.573 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.6481, allocations: 0 / 0.9082 GB, free: 8.988 MB / 0.573 GB Notification: Performance of matching and sorting (n=0): time 8.541e-05/0.6482, allocations: 37.59 kB / 0.9082 GB, free: 8.945 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.6482, allocations: 130.7 kB / 0.9084 GB, free: 8.805 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.6484, allocations: 114.4 kB / 0.9085 GB, free: 8.684 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.6484, allocations: 25.7 kB / 0.9085 GB, free: 8.652 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.6484, allocations: 92.14 kB / 0.9086 GB, free: 8.559 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-06/0.6484, allocations: 0 / 0.9086 GB, free: 8.559 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.6485, allocations: 0 / 0.9086 GB, free: 8.559 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.6486, allocations: 326.8 kB / 0.9089 GB, free: 8.23 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.334e-05/0.6486, allocations: 0 / 0.9089 GB, free: 8.23 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.37e-05/0.6486, allocations: 4 kB / 0.9089 GB, free: 8.227 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.655e-05/0.6487, allocations: 12.03 kB / 0.9089 GB, free: 8.215 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6487, allocations: 0 / 0.9089 GB, free: 8.215 MB / 0.573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001284/0.6488, allocations: 53.55 kB / 0.909 GB, free: 8.156 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.6488, allocations: 4.844 kB / 0.909 GB, free: 8.152 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.6489, allocations: 8 kB / 0.909 GB, free: 8.145 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.6489, allocations: 0 / 0.909 GB, free: 8.145 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.6489, allocations: 0 / 0.909 GB, free: 8.145 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.6489, allocations: 0 / 0.909 GB, free: 8.145 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.6489, allocations: 0 / 0.909 GB, free: 8.145 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.6489, allocations: 4 kB / 0.909 GB, free: 8.141 MB / 0.573 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 () * 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 9.424e-05/0.649, allocations: 176.3 kB / 0.9092 GB, free: 7.961 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.214e-05/0.6491, allocations: 120.8 kB / 0.9093 GB, free: 7.836 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.817e-05/0.6492, allocations: 112.8 kB / 0.9094 GB, free: 7.719 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-05/0.6493, allocations: 184.2 kB / 0.9096 GB, free: 7.531 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.669e-05/0.6493, allocations: 180.3 kB / 0.9097 GB, free: 7.348 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.504e-05/0.6494, allocations: 176.3 kB / 0.9099 GB, free: 7.168 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.6497, allocations: 413.2 kB / 0.9103 GB, free: 6.707 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.194e-05/0.6497, allocations: 113 kB / 0.9104 GB, free: 6.59 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.941e-05/0.6498, allocations: 104.9 kB / 0.9105 GB, free: 6.48 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.411e-05/0.6498, allocations: 180.2 kB / 0.9107 GB, free: 6.297 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.777e-05/0.6499, allocations: 176.3 kB / 0.9108 GB, free: 6.117 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.131e-05/0.65, allocations: 190.8 kB / 0.911 GB, free: 5.926 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-05/0.6501, allocations: 180.2 kB / 0.9112 GB, free: 5.742 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.6502, allocations: 303.8 kB / 0.9115 GB, free: 5.422 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.883e-05/0.6503, allocations: 195.1 kB / 0.9117 GB, free: 5.207 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.694e-05/0.6504, allocations: 192.1 kB / 0.9118 GB, free: 5.012 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.532e-05/0.6505, allocations: 101 kB / 0.9119 GB, free: 4.906 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/0.6506, allocations: 188.2 kB / 0.9121 GB, free: 4.715 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/0.6506, allocations: 105 kB / 0.9122 GB, free: 4.605 MB / 0.573 GB Notification: Performance of sorting global known variables: time 5.995e-05/0.6507, allocations: 101.1 kB / 0.9123 GB, free: 4.508 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6507, allocations: 3.938 kB / 0.9123 GB, free: 4.504 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001123/0.6518, allocations: 327.4 kB / 0.9126 GB, free: 4.184 MB / 0.573 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 () * 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.001193/0.653, allocations: 0.571 MB / 0.9132 GB, free: 3.609 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 9.954e-05/0.6531, allocations: 37.7 kB / 0.9132 GB, free: 3.566 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6532, allocations: 0 / 0.9132 GB, free: 3.566 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.537e-06/0.6532, allocations: 0 / 0.9132 GB, free: 3.566 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.6536, allocations: 0.5263 MB / 0.9137 GB, free: 3.035 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/0.6538, allocations: 152.2 kB / 0.9139 GB, free: 2.863 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.6541, allocations: 0.6848 MB / 0.9146 GB, free: 2.152 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 1.654e-05/0.6542, allocations: 4 kB / 0.9146 GB, free: 2.148 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.611e-05/0.6542, allocations: 7.438 kB / 0.9146 GB, free: 2.141 MB / 0.573 GB Notification: Performance of SimCode: time 3.61e-07/0.6542, allocations: 0 / 0.9146 GB, free: 2.141 MB / 0.573 GB Notification: Performance of Templates: time 0.3526/1.007, allocations: 5.28 MB / 0.9197 GB, free: 137.9 MB / 0.573 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)