Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004331/0.004331, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.00103/0.00103, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 286.3 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9061/0.9061, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 107.8 kB / 0.6815 GB, free: 15.4 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1426, allocations: 86.97 MB / 0.7665 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002286/0.145, allocations: 1.417 MB / 0.7678 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003908/0.1489, allocations: 2.861 MB / 0.7706 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.045e-05/0.1489, allocations: 0 / 0.7706 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.208e-05/0.149, allocations: 7.922 kB / 0.7706 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.326e-05/0.149, allocations: 15.88 kB / 0.7707 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003198/0.1522, allocations: 1.556 MB / 0.7722 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.437e-05/0.1523, allocations: 47.67 kB / 0.7722 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.112e-05/0.1524, allocations: 0 / 0.7722 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.406e-05/0.1524, allocations: 15.94 kB / 0.7722 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.291e-05/0.1524, allocations: 15.92 kB / 0.7723 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.1524, allocations: 0 / 0.7723 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.1542, allocations: 1.482 MB / 0.7737 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.1543, allocations: 15.92 kB / 0.7737 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.1543, allocations: 15.88 kB / 0.7737 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.2932/0.4475, allocations: 1.069 MB / 0.7748 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4475, allocations: 0.75 kB / 0.7748 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4476, allocations: 0 / 0.7748 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.4476, allocations: 0.9062 kB / 0.7748 GB, free: 10.09 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.0006039/0.4482, allocations: 0.5131 MB / 0.7753 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.4482, allocations: 9.625 kB / 0.7753 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.4483, allocations: 83.03 kB / 0.7754 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.953e-05/0.4484, allocations: 253.3 kB / 0.7756 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.4484, allocations: 152.1 kB / 0.7758 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.4484, allocations: 153 kB / 0.7759 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.881e-05/0.4485, allocations: 108.9 kB / 0.776 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.4485, allocations: 78.45 kB / 0.7761 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.4485, allocations: 155.6 kB / 0.7762 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.4485, allocations: 153.5 kB / 0.7764 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.003e-05/0.4486, allocations: 155.1 kB / 0.7765 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.4488, allocations: 468.6 kB / 0.777 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.782e-05/0.4488, allocations: 166.3 kB / 0.7771 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.4488, allocations: 80.14 kB / 0.7772 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.4489, allocations: 76.59 kB / 0.7773 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.4489, allocations: 115.8 kB / 0.7774 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.4489, allocations: 0 / 0.7774 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.423e-05/0.449, allocations: 33.39 kB / 0.7774 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.449, allocations: 128.8 kB / 0.7775 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.4491, allocations: 141.8 kB / 0.7777 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.832e-06/0.4491, allocations: 26.58 kB / 0.7777 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.938e-05/0.4491, allocations: 90.56 kB / 0.7778 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.4492, allocations: 0 / 0.7778 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.4492, allocations: 16.61 kB / 0.7778 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.798e-05/0.4492, allocations: 318.1 kB / 0.7781 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.4493, allocations: 3.469 kB / 0.7781 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.748e-05/0.4493, allocations: 7.656 kB / 0.7781 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.297e-05/0.4493, allocations: 15.03 kB / 0.7781 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4493, allocations: 2.469 kB / 0.7781 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001138/0.4494, allocations: 52.61 kB / 0.7782 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.4495, allocations: 8.625 kB / 0.7782 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.4495, allocations: 2.812 kB / 0.7782 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.4495, allocations: 0.8125 kB / 0.7782 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.4495, allocations: 1.781 kB / 0.7782 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4495, allocations: 2.594 kB / 0.7782 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.057e-05/0.4495, allocations: 0.7188 kB / 0.7782 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.4496, allocations: 1.438 kB / 0.7782 GB, free: 6.707 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.66e-05/0.4496, allocations: 193.9 kB / 0.7784 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.4497, allocations: 114.9 kB / 0.7785 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.4497, allocations: 108.8 kB / 0.7786 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/0.4497, allocations: 180.8 kB / 0.7788 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.672e-05/0.4497, allocations: 186.4 kB / 0.779 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.266e-05/0.4498, allocations: 179.6 kB / 0.7791 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.4501, allocations: 411.7 kB / 0.7795 GB, free: 21.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-05/0.4501, allocations: 108.5 kB / 0.7796 GB, free: 21.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.284e-05/0.4502, allocations: 108 kB / 0.7797 GB, free: 21.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.622e-05/0.4502, allocations: 186.3 kB / 0.7799 GB, free: 20.92 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.109e-05/0.4503, allocations: 177.7 kB / 0.7801 GB, free: 20.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.348e-05/0.4504, allocations: 181.9 kB / 0.7802 GB, free: 20.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.406e-05/0.4504, allocations: 180.9 kB / 0.7804 GB, free: 20.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.4506, allocations: 305.8 kB / 0.7807 GB, free: 20.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-05/0.4506, allocations: 193 kB / 0.7809 GB, free: 19.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.786e-05/0.4507, allocations: 182.4 kB / 0.7811 GB, free: 19.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-05/0.4508, allocations: 104.2 kB / 0.7812 GB, free: 19.58 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.4509, allocations: 182.4 kB / 0.7813 GB, free: 19.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.4509, allocations: 103.6 kB / 0.7814 GB, free: 19.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.898e-05/0.451, allocations: 103.4 kB / 0.7815 GB, free: 19.22 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.451, allocations: 0 / 0.7815 GB, free: 19.22 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007731/0.4518, allocations: 280 kB / 0.7818 GB, free: 19.17 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.0009826/0.4528, allocations: 0.5169 MB / 0.7823 GB, free: 18.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.847e-05/0.4529, allocations: 37.5 kB / 0.7823 GB, free: 18.92 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4529, allocations: 0 / 0.7823 GB, free: 18.92 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.407e-06/0.4529, allocations: 7.875 kB / 0.7824 GB, free: 18.92 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.4533, allocations: 468.2 kB / 0.7828 GB, free: 18.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.4536, allocations: 238.7 kB / 0.783 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.4538, allocations: 0.6915 MB / 0.7837 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.346e-05/0.4538, allocations: 1.672 kB / 0.7837 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.738e-06/0.4538, allocations: 9.188 kB / 0.7837 GB, free: 17.56 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.4538, allocations: 1.969 kB / 0.7837 GB, free: 17.56 MB / 0.5762 GB Notification: Performance of Templates: time 0.009175/0.463, allocations: 5.455 MB / 0.789 GB, free: 17.21 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)