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.7835/0.7835, allocations: 143.4 MB / 159.2 MB, free: 4.879 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.001389/0.001389, allocations: 182.9 kB / 191.9 MB, free: 5.742 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.354/1.354, allocations: 222.9 MB / 447.3 MB, free: 5.852 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.001028/0.001028, allocations: 107.7 kB / 0.517 GB, free: 3.699 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001886/0.001886, allocations: 289.9 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001409, allocations: 87.88 kB / 0.6886 GB, free: 3.781 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3348, allocations: 81.29 MB / 0.768 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002301/0.3371, allocations: 1.49 MB / 0.7694 GB, free: 26.18 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00328/0.3404, allocations: 3.011 MB / 0.7724 GB, free: 23.16 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.2e-05/0.3405, allocations: 4 kB / 0.7724 GB, free: 23.15 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.3405, allocations: 7.922 kB / 0.7724 GB, free: 23.14 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.97e-05/0.3406, allocations: 7.922 kB / 0.7724 GB, free: 23.14 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002787/0.3434, allocations: 1.44 MB / 0.7738 GB, free: 21.72 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.102e-05/0.3435, allocations: 31.75 kB / 0.7738 GB, free: 21.69 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.614e-05/0.3435, allocations: 7.984 kB / 0.7738 GB, free: 21.68 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.149e-05/0.3435, allocations: 19.92 kB / 0.7738 GB, free: 21.66 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.193e-05/0.3436, allocations: 19.88 kB / 0.7739 GB, free: 21.64 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.3436, allocations: 0 / 0.7739 GB, free: 21.64 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.3451, allocations: 1.447 MB / 0.7753 GB, free: 20.2 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.849e-06/0.3451, allocations: 4 kB / 0.7753 GB, free: 20.19 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.3451, allocations: 11.88 kB / 0.7753 GB, free: 20.18 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.3462, allocations: 1.103 MB / 0.7764 GB, free: 19.07 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3462, allocations: 0 / 0.7764 GB, free: 19.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.3462, allocations: 0 / 0.7764 GB, free: 19.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.3462, allocations: 4 kB / 0.7764 GB, free: 19.07 MB / 458.7 MB 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.0004263/0.3466, allocations: 0.5185 MB / 0.7769 GB, free: 18.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.3467, allocations: 8.031 kB / 0.7769 GB, free: 18.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.3467, allocations: 84.16 kB / 0.777 GB, free: 18.41 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.195e-05/0.3468, allocations: 251.6 kB / 0.7772 GB, free: 18.13 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.3468, allocations: 154.9 kB / 0.7774 GB, free: 17.98 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.3469, allocations: 150.9 kB / 0.7775 GB, free: 17.83 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.463e-05/0.3469, allocations: 113.1 kB / 0.7776 GB, free: 17.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3469, allocations: 79.28 kB / 0.7777 GB, free: 17.63 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.347, allocations: 154.5 kB / 0.7778 GB, free: 17.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.347, allocations: 150.6 kB / 0.778 GB, free: 17.33 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.073e-05/0.347, allocations: 154.5 kB / 0.7781 GB, free: 17.18 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.3472, allocations: 473.8 kB / 0.7786 GB, free: 16.67 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.466e-05/0.3473, allocations: 169.1 kB / 0.7787 GB, free: 16.49 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.3473, allocations: 80.14 kB / 0.7788 GB, free: 16.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.3473, allocations: 75.28 kB / 0.7789 GB, free: 16.34 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.3473, allocations: 113.8 kB / 0.779 GB, free: 16.21 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3473, allocations: 4 kB / 0.779 GB, free: 16.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 6.592e-05/0.3474, allocations: 29.64 kB / 0.779 GB, free: 16.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.3474, allocations: 130.7 kB / 0.7791 GB, free: 16.04 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.3475, allocations: 139.2 kB / 0.7793 GB, free: 15.89 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.3476, allocations: 29.64 kB / 0.7793 GB, free: 15.86 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.91e-05/0.3476, allocations: 92.03 kB / 0.7794 GB, free: 15.76 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.3476, allocations: 0 / 0.7794 GB, free: 15.76 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.3477, allocations: 17.72 kB / 0.7794 GB, free: 15.74 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.015e-05/0.3477, allocations: 322.8 kB / 0.7797 GB, free: 15.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/0.3477, allocations: 8 kB / 0.7797 GB, free: 15.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.299e-05/0.3477, allocations: 0 / 0.7797 GB, free: 15.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.165e-05/0.3478, allocations: 12.86 kB / 0.7797 GB, free: 15.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3478, allocations: 3.938 kB / 0.7797 GB, free: 15.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.651e-05/0.3479, allocations: 49.62 kB / 0.7798 GB, free: 15.33 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.3479, allocations: 4 kB / 0.7798 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.3479, allocations: 4 kB / 0.7798 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.3479, allocations: 0 / 0.7798 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.348, allocations: 4.062 kB / 0.7798 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.348, allocations: 0 / 0.7798 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.844e-05/0.348, allocations: 7.906 kB / 0.7798 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.348, allocations: 0 / 0.7798 GB, free: 15.31 MB / 458.7 MB 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 5.164e-05/0.348, allocations: 185.6 kB / 0.78 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.3481, allocations: 116.9 kB / 0.7801 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.3481, allocations: 108.9 kB / 0.7802 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/0.3481, allocations: 180.3 kB / 0.7804 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.453e-05/0.3482, allocations: 184.2 kB / 0.7806 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.182e-05/0.3482, allocations: 176.3 kB / 0.7807 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.3483, allocations: 417.2 kB / 0.7811 GB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/0.3484, allocations: 108.9 kB / 0.7812 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.521e-05/0.3484, allocations: 105 kB / 0.7813 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.135e-05/0.3484, allocations: 188.2 kB / 0.7815 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.3484, allocations: 176.3 kB / 0.7817 GB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.237e-05/0.3485, allocations: 184.4 kB / 0.7818 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.081e-05/0.3485, allocations: 184.3 kB / 0.782 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.3487, allocations: 0.8686 MB / 0.7829 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.175e-05/0.3487, allocations: 182 kB / 0.783 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.3487, allocations: 180.3 kB / 0.7832 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.369e-05/0.3488, allocations: 108.9 kB / 0.7833 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.3488, allocations: 180.3 kB / 0.7835 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3489, allocations: 109 kB / 0.7836 GB, free: 11.17 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.444e-05/0.3489, allocations: 97.61 kB / 0.7837 GB, free: 11.08 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3489, allocations: 3.938 kB / 0.7837 GB, free: 11.07 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006366/0.3495, allocations: 295.7 kB / 0.784 GB, free: 10.79 MB / 458.7 MB 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.0009079/0.3505, allocations: 0.5452 MB / 0.7845 GB, free: 10.24 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.785e-05/0.3505, allocations: 37.69 kB / 0.7845 GB, free: 10.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3505, allocations: 0 / 0.7845 GB, free: 10.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.3506, allocations: 0 / 0.7845 GB, free: 10.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.3509, allocations: 0.5302 MB / 0.7851 GB, free: 9.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002432/0.3511, allocations: 244.6 kB / 0.7853 GB, free: 9.395 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.3512, allocations: 0.677 MB / 0.786 GB, free: 8.691 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.27e-05/0.3512, allocations: 8 kB / 0.786 GB, free: 8.684 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-06/0.3513, allocations: 7.438 kB / 0.786 GB, free: 8.676 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3513, allocations: 0 / 0.786 GB, free: 8.676 MB / 458.7 MB Notification: Performance of Templates: time 0.007146/0.3584, allocations: 5.598 MB / 0.7914 GB, free: 3.129 MB / 458.7 MB 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)