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.001398/0.001397, allocations: 105.8 kB / 16.41 MB, free: 6.457 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.001369/0.001369, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002292/0.002292, allocations: 297.4 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9512/0.9512, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002452/0.002452, allocations: 95.86 kB / 0.6822 GB, free: 6.895 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4985/0.501, allocations: 86.98 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002785/0.5038, allocations: 1.424 MB / 0.7685 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00437/0.5082, allocations: 2.858 MB / 0.7713 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.225e-05/0.5083, allocations: 0 / 0.7713 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/0.5084, allocations: 0 / 0.7713 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.621e-05/0.5084, allocations: 19.8 kB / 0.7713 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004056/0.5125, allocations: 1.552 MB / 0.7728 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.742e-05/0.5126, allocations: 43.67 kB / 0.7729 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.5127, allocations: 8 kB / 0.7729 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.176e-05/0.5127, allocations: 11.92 kB / 0.7729 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.793e-05/0.5127, allocations: 15.92 kB / 0.7729 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.5128, allocations: 4 kB / 0.7729 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.5151, allocations: 1.482 MB / 0.7744 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.5151, allocations: 7.938 kB / 0.7744 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.5151, allocations: 15.88 kB / 0.7744 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.5169, allocations: 1.079 MB / 0.7754 GB, free: 11.42 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5169, allocations: 0 / 0.7754 GB, free: 11.42 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.537e-06/0.5169, allocations: 8 kB / 0.7755 GB, free: 11.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.5169, allocations: 0 / 0.7755 GB, free: 11.41 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.0006819/0.5176, allocations: 0.5146 MB / 0.776 GB, free: 10.85 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.5176, allocations: 11.97 kB / 0.776 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.5177, allocations: 80.22 kB / 0.776 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.5178, allocations: 255.4 kB / 0.7763 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.5179, allocations: 150.9 kB / 0.7764 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.07e-05/0.5179, allocations: 154.9 kB / 0.7766 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.373e-05/0.518, allocations: 105.1 kB / 0.7767 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.518, allocations: 83.22 kB / 0.7768 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/0.5181, allocations: 154.5 kB / 0.7769 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.373e-05/0.5182, allocations: 150.6 kB / 0.777 GB, free: 9.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.775e-05/0.5182, allocations: 154.6 kB / 0.7772 GB, free: 9.527 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.5185, allocations: 461.9 kB / 0.7776 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.702e-05/0.5186, allocations: 169.1 kB / 0.7778 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.5186, allocations: 84.08 kB / 0.7779 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.5186, allocations: 75.28 kB / 0.778 GB, free: 8.691 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.5187, allocations: 117.8 kB / 0.7781 GB, free: 8.566 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.5187, allocations: 0 / 0.7781 GB, free: 8.566 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.084e-05/0.5188, allocations: 25.7 kB / 0.7781 GB, free: 8.535 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.5188, allocations: 126.7 kB / 0.7782 GB, free: 8.398 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.519, allocations: 140.8 kB / 0.7783 GB, free: 8.254 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.519, allocations: 29.7 kB / 0.7784 GB, free: 8.219 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.519, allocations: 84.14 kB / 0.7785 GB, free: 8.133 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-06/0.519, allocations: 4 kB / 0.7785 GB, free: 8.129 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.5191, allocations: 17.72 kB / 0.7785 GB, free: 8.105 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.5192, allocations: 318.8 kB / 0.7788 GB, free: 7.785 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.447e-05/0.5192, allocations: 11.94 kB / 0.7788 GB, free: 7.773 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.392e-05/0.5192, allocations: 32 / 0.7788 GB, free: 7.773 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/0.5193, allocations: 16.86 kB / 0.7788 GB, free: 7.754 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5193, allocations: 0 / 0.7788 GB, free: 7.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001164/0.5194, allocations: 49.53 kB / 0.7789 GB, free: 7.699 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.5194, allocations: 8 kB / 0.7789 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.5194, allocations: 8 kB / 0.7789 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5195, allocations: 0 / 0.7789 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.5195, allocations: 0 / 0.7789 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.5195, allocations: 0 / 0.7789 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.5195, allocations: 4 kB / 0.7789 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.5195, allocations: 0 / 0.7789 GB, free: 7.68 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.807e-05/0.5196, allocations: 189.1 kB / 0.779 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.797e-05/0.5197, allocations: 120.8 kB / 0.7792 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.5197, allocations: 112.9 kB / 0.7793 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-05/0.5198, allocations: 184.2 kB / 0.7794 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.555e-05/0.5198, allocations: 176.3 kB / 0.7796 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.005e-05/0.5199, allocations: 188.2 kB / 0.7798 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.5201, allocations: 417.2 kB / 0.7802 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-05/0.5202, allocations: 108.9 kB / 0.7803 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.148e-05/0.5202, allocations: 104.9 kB / 0.7804 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.774e-05/0.5203, allocations: 180.3 kB / 0.7806 GB, free: 5.812 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.215e-05/0.5203, allocations: 188.2 kB / 0.7807 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.614e-05/0.5204, allocations: 176.3 kB / 0.7809 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.067e-05/0.5204, allocations: 176.3 kB / 0.7811 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.5206, allocations: 311.8 kB / 0.7814 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.87e-05/0.5206, allocations: 193.9 kB / 0.7816 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.265e-05/0.5207, allocations: 180.3 kB / 0.7817 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.979e-05/0.5208, allocations: 101 kB / 0.7818 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.5209, allocations: 184.2 kB / 0.782 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.5209, allocations: 105 kB / 0.7821 GB, free: 4.133 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.46e-05/0.521, allocations: 99.27 kB / 0.7822 GB, free: 4.035 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.521, allocations: 0 / 0.7822 GB, free: 4.035 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007609/0.5217, allocations: 275.8 kB / 0.7825 GB, free: 3.766 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.001191/0.5229, allocations: 0.5215 MB / 0.783 GB, free: 3.234 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.523, allocations: 45.62 kB / 0.783 GB, free: 3.184 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.523, allocations: 0 / 0.783 GB, free: 3.184 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.737e-06/0.5231, allocations: 4 kB / 0.783 GB, free: 3.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.5234, allocations: 465.5 kB / 0.7835 GB, free: 2.723 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/0.5238, allocations: 261.8 kB / 0.7837 GB, free: 2.434 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.524, allocations: 0.6846 MB / 0.7844 GB, free: 1.723 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.465e-05/0.524, allocations: 11.44 kB / 0.7844 GB, free: 1.711 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.5241, allocations: 0 / 0.7844 GB, free: 1.711 MB / 0.545 GB Notification: Performance of Templates: time 0.008583/0.5326, allocations: 4.62 MB / 0.7889 GB, free: 13.09 MB / 0.5606 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)