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.00603/0.00603, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001394/0.001394, allocations: 202.1 kB / 16.68 MB, free: 5.926 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.299/1.299, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002143/0.002143, allocations: 288.8 kB / 290.8 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.9219/0.9219, allocations: 169.3 MB / 0.4983 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 95.84 kB / 0.6815 GB, free: 6.887 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4028, allocations: 86.99 MB / 0.7665 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002293/0.4052, allocations: 1.412 MB / 0.7678 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003864/0.4091, allocations: 2.854 MB / 0.7706 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.4091, allocations: 3.938 kB / 0.7706 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.158e-05/0.4091, allocations: 7.922 kB / 0.7706 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.384e-05/0.4092, allocations: 15.86 kB / 0.7707 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003476/0.4127, allocations: 1.561 MB / 0.7722 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.945e-05/0.4128, allocations: 47.67 kB / 0.7722 GB, free: 14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.271e-05/0.4128, allocations: 0 / 0.7722 GB, free: 14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.482e-05/0.4129, allocations: 11.94 kB / 0.7722 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.372e-05/0.4129, allocations: 15.92 kB / 0.7723 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.816e-06/0.4129, allocations: 3.938 kB / 0.7723 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.415, allocations: 1.486 MB / 0.7737 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.415, allocations: 7.922 kB / 0.7737 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.415, allocations: 19.88 kB / 0.7737 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.4164, allocations: 1.075 MB / 0.7748 GB, free: 11.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4164, allocations: 0 / 0.7748 GB, free: 11.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4164, allocations: 0 / 0.7748 GB, free: 11.38 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.4164, allocations: 0 / 0.7748 GB, free: 11.38 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.0005042/0.4169, allocations: 0.5146 MB / 0.7753 GB, free: 10.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.417, allocations: 8.031 kB / 0.7753 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/0.417, allocations: 84.22 kB / 0.7754 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.4172, allocations: 259.4 kB / 0.7756 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.4172, allocations: 154.9 kB / 0.7758 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.4172, allocations: 150.9 kB / 0.7759 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.068e-05/0.4173, allocations: 109 kB / 0.776 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.4173, allocations: 75.28 kB / 0.7761 GB, free: 9.945 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.004e-05/0.4174, allocations: 150.6 kB / 0.7762 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-05/0.4174, allocations: 150.6 kB / 0.7764 GB, free: 9.648 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.134e-05/0.4175, allocations: 158.6 kB / 0.7765 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.4178, allocations: 457.9 kB / 0.777 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.263e-05/0.4178, allocations: 177.1 kB / 0.7771 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.4179, allocations: 80.14 kB / 0.7772 GB, free: 8.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.4179, allocations: 79.28 kB / 0.7773 GB, free: 8.652 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.418, allocations: 113.8 kB / 0.7774 GB, free: 8.531 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.418, allocations: 0 / 0.7774 GB, free: 8.531 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.149e-05/0.418, allocations: 29.7 kB / 0.7774 GB, free: 8.496 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.4181, allocations: 126.7 kB / 0.7775 GB, free: 8.359 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.4182, allocations: 136.7 kB / 0.7777 GB, free: 8.219 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.4182, allocations: 25.7 kB / 0.7777 GB, free: 8.188 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/0.4183, allocations: 92.14 kB / 0.7778 GB, free: 8.094 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.4183, allocations: 3.938 kB / 0.7778 GB, free: 8.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.4183, allocations: 21.7 kB / 0.7778 GB, free: 8.062 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.389e-05/0.4184, allocations: 314.8 kB / 0.7781 GB, free: 7.746 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.4185, allocations: 4 kB / 0.7781 GB, free: 7.742 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.499e-05/0.4185, allocations: 4.031 kB / 0.7781 GB, free: 7.738 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.554e-05/0.4185, allocations: 12.84 kB / 0.7781 GB, free: 7.723 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4185, allocations: 0 / 0.7781 GB, free: 7.723 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001114/0.4187, allocations: 57.58 kB / 0.7782 GB, free: 7.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.4187, allocations: 4 kB / 0.7782 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.4187, allocations: 7.938 kB / 0.7782 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.4187, allocations: 0 / 0.7782 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.4187, allocations: 0 / 0.7782 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.4187, allocations: 11.86 kB / 0.7782 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/0.4188, allocations: 0 / 0.7782 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.4188, allocations: 4 kB / 0.7782 GB, free: 7.633 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 8.316e-05/0.4189, allocations: 185.2 kB / 0.7784 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.4189, allocations: 120.8 kB / 0.7785 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/0.419, allocations: 104.9 kB / 0.7786 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.014e-05/0.4191, allocations: 192.2 kB / 0.7788 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-05/0.4191, allocations: 176.3 kB / 0.779 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-05/0.4192, allocations: 184.2 kB / 0.7791 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.4194, allocations: 421.2 kB / 0.7795 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.911e-05/0.4194, allocations: 104.9 kB / 0.7796 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.162e-05/0.4195, allocations: 108.9 kB / 0.7797 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.526e-05/0.4195, allocations: 176.3 kB / 0.7799 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.98e-05/0.4196, allocations: 184.2 kB / 0.7801 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.778e-05/0.4196, allocations: 180.3 kB / 0.7803 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.495e-05/0.4197, allocations: 184.2 kB / 0.7804 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.4198, allocations: 299.8 kB / 0.7807 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.209e-05/0.4199, allocations: 197.9 kB / 0.7809 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.374e-05/0.42, allocations: 176.3 kB / 0.7811 GB, free: 4.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.026e-05/0.4201, allocations: 105 kB / 0.7812 GB, free: 4.391 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.4201, allocations: 188.2 kB / 0.7814 GB, free: 4.199 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.4202, allocations: 101 kB / 0.7815 GB, free: 4.094 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.008e-05/0.4202, allocations: 99.27 kB / 0.7815 GB, free: 3.996 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4202, allocations: 0 / 0.7815 GB, free: 3.996 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000583/0.4208, allocations: 275.8 kB / 0.7818 GB, free: 3.727 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.0009454/0.4218, allocations: 0.5245 MB / 0.7823 GB, free: 3.195 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.52e-05/0.4219, allocations: 41.64 kB / 0.7824 GB, free: 3.148 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4219, allocations: 0 / 0.7824 GB, free: 3.148 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.4219, allocations: 0 / 0.7824 GB, free: 3.148 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.4223, allocations: 464.2 kB / 0.7828 GB, free: 2.691 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.4226, allocations: 248 kB / 0.783 GB, free: 2.422 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.4228, allocations: 0.6807 MB / 0.7837 GB, free: 1.715 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.342e-05/0.4228, allocations: 0 / 0.7837 GB, free: 1.715 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.165e-05/0.4229, allocations: 7.438 kB / 0.7837 GB, free: 1.707 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4229, allocations: 0 / 0.7837 GB, free: 1.707 MB / 0.545 GB Notification: Performance of Templates: time 0.008927/0.4318, allocations: 5.476 MB / 0.7891 GB, free: 12.29 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)