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.007224/0.007224, allocations: 95.31 kB / 15.73 MB, free: 6.055 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.001824/0.001824, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002171/0.002171, allocations: 283 kB / 290.8 MB, free: 1.762 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9352/0.9352, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 100.3 kB / 0.6815 GB, free: 15.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1588, allocations: 86.97 MB / 0.7665 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002281/0.1611, allocations: 1.418 MB / 0.7678 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003819/0.165, allocations: 2.857 MB / 0.7706 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/0.165, allocations: 0 / 0.7706 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.165, allocations: 11.92 kB / 0.7706 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.204e-05/0.1651, allocations: 7.875 kB / 0.7706 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003413/0.1686, allocations: 1.575 MB / 0.7722 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.366e-05/0.1686, allocations: 43.67 kB / 0.7722 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.525e-05/0.1687, allocations: 4 kB / 0.7722 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.969e-05/0.1687, allocations: 15.94 kB / 0.7722 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.556e-05/0.1688, allocations: 15.91 kB / 0.7723 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1688, allocations: 4 kB / 0.7723 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.1707, allocations: 1.48 MB / 0.7737 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.1707, allocations: 19.8 kB / 0.7737 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.1707, allocations: 15.88 kB / 0.7737 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.3371/0.5078, allocations: 1.065 MB / 0.7748 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.5079, allocations: 0.5938 kB / 0.7748 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5079, allocations: 1.094 kB / 0.7748 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.5079, allocations: 0.625 kB / 0.7748 GB, free: 10.07 MB / 0.5606 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.0007515/0.5086, allocations: 0.5279 MB / 0.7753 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.5087, allocations: 9.656 kB / 0.7753 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.5088, allocations: 86.23 kB / 0.7754 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.5089, allocations: 249.7 kB / 0.7756 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.5089, allocations: 155.5 kB / 0.7758 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.509, allocations: 151.6 kB / 0.7759 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.541e-05/0.509, allocations: 108.6 kB / 0.776 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.509, allocations: 82.12 kB / 0.7761 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.5091, allocations: 152 kB / 0.7763 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.5091, allocations: 151.9 kB / 0.7764 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.534e-05/0.5091, allocations: 159.8 kB / 0.7766 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/0.5093, allocations: 459.6 kB / 0.777 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.323e-05/0.5094, allocations: 167.2 kB / 0.7771 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.5094, allocations: 84.11 kB / 0.7772 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.5094, allocations: 80.72 kB / 0.7773 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.5095, allocations: 112.8 kB / 0.7774 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.5095, allocations: 0 / 0.7774 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.465e-05/0.5095, allocations: 33.44 kB / 0.7774 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.5096, allocations: 129.1 kB / 0.7776 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.5097, allocations: 130.1 kB / 0.7777 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.704e-06/0.5097, allocations: 26.73 kB / 0.7777 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.5098, allocations: 92.28 kB / 0.7778 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.5098, allocations: 0 / 0.7778 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.5098, allocations: 19.03 kB / 0.7778 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.37e-05/0.5099, allocations: 318 kB / 0.7781 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.314e-05/0.5099, allocations: 3.812 kB / 0.7781 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.76e-05/0.5099, allocations: 8.438 kB / 0.7781 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.818e-05/0.51, allocations: 14.17 kB / 0.7782 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.51, allocations: 0 / 0.7782 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001336/0.5101, allocations: 57.42 kB / 0.7782 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.5101, allocations: 5.625 kB / 0.7782 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.5102, allocations: 2.156 kB / 0.7782 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.5102, allocations: 1.953 kB / 0.7782 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.5102, allocations: 1.938 kB / 0.7782 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.5102, allocations: 0.875 kB / 0.7782 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.427e-05/0.5102, allocations: 4.969 kB / 0.7782 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.5102, allocations: 6.656 kB / 0.7782 GB, free: 6.625 MB / 0.5606 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 5.973e-05/0.5103, allocations: 188.8 kB / 0.7784 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.5104, allocations: 113.3 kB / 0.7785 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.5104, allocations: 113.8 kB / 0.7786 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.542e-05/0.5104, allocations: 181.6 kB / 0.7788 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-05/0.5104, allocations: 182.2 kB / 0.779 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001187/0.5106, allocations: 182 kB / 0.7791 GB, free: 21.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.5108, allocations: 415.6 kB / 0.7795 GB, free: 21.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.016e-05/0.5108, allocations: 104.1 kB / 0.7796 GB, free: 21.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.274e-05/0.5109, allocations: 111.4 kB / 0.7797 GB, free: 21.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.203e-05/0.5109, allocations: 181.9 kB / 0.7799 GB, free: 20.84 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.437e-05/0.511, allocations: 180.8 kB / 0.7801 GB, free: 20.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-05/0.5111, allocations: 177.7 kB / 0.7803 GB, free: 20.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.939e-05/0.5111, allocations: 184.5 kB / 0.7804 GB, free: 20.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.5113, allocations: 310.1 kB / 0.7807 GB, free: 19.99 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-05/0.5113, allocations: 184.9 kB / 0.7809 GB, free: 19.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.812e-05/0.5114, allocations: 185.4 kB / 0.7811 GB, free: 19.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.5115, allocations: 109.9 kB / 0.7812 GB, free: 19.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.5116, allocations: 181.4 kB / 0.7814 GB, free: 19.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.5116, allocations: 103 kB / 0.7815 GB, free: 19.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.614e-05/0.5117, allocations: 98.81 kB / 0.7816 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5117, allocations: 1.562 kB / 0.7816 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008475/0.5125, allocations: 279.2 kB / 0.7818 GB, free: 19.08 MB / 0.5762 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.0009889/0.5135, allocations: 0.523 MB / 0.7823 GB, free: 18.86 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.5136, allocations: 41.19 kB / 0.7824 GB, free: 18.83 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.5136, allocations: 0.5625 kB / 0.7824 GB, free: 18.83 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.529e-06/0.5137, allocations: 3.406 kB / 0.7824 GB, free: 18.83 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.514, allocations: 467.8 kB / 0.7828 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.5143, allocations: 239.8 kB / 0.7831 GB, free: 18.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.5146, allocations: 0.6822 MB / 0.7837 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.268e-05/0.5146, allocations: 1.344 kB / 0.7837 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.082e-05/0.5146, allocations: 8.844 kB / 0.7837 GB, free: 17.47 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.5146, allocations: 5.969 kB / 0.7837 GB, free: 17.47 MB / 0.5762 GB Notification: Performance of Templates: time 0.009495/0.5241, allocations: 5.442 MB / 0.7891 GB, free: 17.12 MB / 0.5762 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)