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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 112.5 kB / 16.41 MB, free: 6.496 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.00186/0.00186, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002451/0.002451, allocations: 296.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9759/0.9759, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 95.8 kB / 0.6822 GB, free: 6.875 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5322/0.534, allocations: 86.98 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002481/0.5365, allocations: 1.417 MB / 0.7685 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004146/0.5407, allocations: 2.862 MB / 0.7713 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.15e-05/0.5408, allocations: 3.938 kB / 0.7713 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.5408, allocations: 3.938 kB / 0.7713 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.526e-05/0.5409, allocations: 7.875 kB / 0.7713 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003691/0.5446, allocations: 1.559 MB / 0.7728 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.74e-05/0.5447, allocations: 43.67 kB / 0.7729 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.5447, allocations: 4 kB / 0.7729 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.013e-05/0.5447, allocations: 19.94 kB / 0.7729 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.982e-05/0.5448, allocations: 19.91 kB / 0.7729 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.5448, allocations: 0 / 0.7729 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.5468, allocations: 1.486 MB / 0.7744 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.5468, allocations: 3.938 kB / 0.7744 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.5469, allocations: 15.88 kB / 0.7744 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.5482, allocations: 1.079 MB / 0.7754 GB, free: 11.36 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5482, allocations: 0 / 0.7754 GB, free: 11.36 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5482, allocations: 0 / 0.7754 GB, free: 11.36 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.5482, allocations: 0 / 0.7754 GB, free: 11.36 MB / 0.545 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.0005832/0.5488, allocations: 0.5185 MB / 0.776 GB, free: 10.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.5488, allocations: 12.03 kB / 0.776 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.5489, allocations: 76.22 kB / 0.776 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.549, allocations: 251.4 kB / 0.7763 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.496e-05/0.5491, allocations: 154.9 kB / 0.7764 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.845e-05/0.5492, allocations: 154.9 kB / 0.7766 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.091e-05/0.5492, allocations: 113 kB / 0.7767 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.5493, allocations: 79.27 kB / 0.7768 GB, free: 9.926 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/0.5493, allocations: 150.6 kB / 0.7769 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.743e-05/0.5494, allocations: 154.5 kB / 0.777 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.409e-05/0.5494, allocations: 150.6 kB / 0.7772 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002647/0.5497, allocations: 465.9 kB / 0.7776 GB, free: 8.973 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.579e-05/0.5498, allocations: 169.1 kB / 0.7778 GB, free: 8.797 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.5498, allocations: 84.14 kB / 0.7779 GB, free: 8.711 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.5498, allocations: 75.28 kB / 0.7779 GB, free: 8.637 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.5499, allocations: 117.8 kB / 0.7781 GB, free: 8.512 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.5499, allocations: 0 / 0.7781 GB, free: 8.512 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.559e-05/0.55, allocations: 29.7 kB / 0.7781 GB, free: 8.477 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.55, allocations: 130.6 kB / 0.7782 GB, free: 8.336 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.5502, allocations: 132.9 kB / 0.7783 GB, free: 8.199 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.5502, allocations: 25.7 kB / 0.7784 GB, free: 8.168 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.5503, allocations: 96.12 kB / 0.7785 GB, free: 8.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.5503, allocations: 3.938 kB / 0.7785 GB, free: 8.066 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.5503, allocations: 17.72 kB / 0.7785 GB, free: 8.043 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.994e-05/0.5504, allocations: 318.8 kB / 0.7788 GB, free: 7.723 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.266e-05/0.5504, allocations: 4 kB / 0.7788 GB, free: 7.719 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.634e-05/0.5505, allocations: 8.031 kB / 0.7788 GB, free: 7.711 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.639e-05/0.5505, allocations: 8.859 kB / 0.7788 GB, free: 7.699 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5505, allocations: 0 / 0.7788 GB, free: 7.699 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001207/0.5506, allocations: 53.53 kB / 0.7789 GB, free: 7.641 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.5507, allocations: 8 kB / 0.7789 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/0.5507, allocations: 7.875 kB / 0.7789 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.5507, allocations: 8.062 kB / 0.7789 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.5507, allocations: 0 / 0.7789 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.5507, allocations: 0 / 0.7789 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.911e-05/0.5507, allocations: 0 / 0.7789 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.5508, allocations: 0 / 0.7789 GB, free: 7.617 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.69e-05/0.5509, allocations: 185.1 kB / 0.7791 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-05/0.5509, allocations: 112.8 kB / 0.7792 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.779e-05/0.551, allocations: 120.8 kB / 0.7793 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.562e-05/0.5511, allocations: 184.3 kB / 0.7795 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-05/0.5511, allocations: 176.3 kB / 0.7796 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.389e-05/0.5512, allocations: 184.2 kB / 0.7798 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.5514, allocations: 413.2 kB / 0.7802 GB, free: 6.168 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.415e-05/0.5514, allocations: 112.9 kB / 0.7803 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-05/0.5515, allocations: 105 kB / 0.7804 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.161e-05/0.5515, allocations: 180.3 kB / 0.7806 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.535e-05/0.5516, allocations: 180.2 kB / 0.7807 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-05/0.5516, allocations: 184.2 kB / 0.7809 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.1e-05/0.5517, allocations: 180.2 kB / 0.7811 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.5518, allocations: 303.8 kB / 0.7814 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.051e-05/0.5519, allocations: 193.9 kB / 0.7816 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.731e-05/0.552, allocations: 184.2 kB / 0.7817 GB, free: 4.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.5521, allocations: 104.9 kB / 0.7818 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.097e-05/0.5521, allocations: 176.3 kB / 0.782 GB, free: 4.191 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.5522, allocations: 109 kB / 0.7821 GB, free: 4.078 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.29e-05/0.5522, allocations: 95.27 kB / 0.7822 GB, free: 3.984 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5522, allocations: 3.938 kB / 0.7822 GB, free: 3.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006639/0.5529, allocations: 275.8 kB / 0.7825 GB, free: 3.711 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009716/0.5539, allocations: 0.528 MB / 0.783 GB, free: 3.176 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.554, allocations: 37.7 kB / 0.783 GB, free: 3.133 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.554, allocations: 0 / 0.783 GB, free: 3.133 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.554, allocations: 3.938 kB / 0.783 GB, free: 3.129 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.5544, allocations: 468.1 kB / 0.7835 GB, free: 2.668 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.5548, allocations: 265.8 kB / 0.7837 GB, free: 2.375 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.555, allocations: 0.6846 MB / 0.7844 GB, free: 1.664 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.02e-05/0.555, allocations: 7.438 kB / 0.7844 GB, free: 1.656 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.555, allocations: 0 / 0.7844 GB, free: 1.656 MB / 0.545 GB Notification: Performance of Templates: time 0.007188/0.5622, allocations: 4.623 MB / 0.7889 GB, free: 13.04 MB / 0.5606 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)