Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 111.9 kB / 16.37 MB, free: 6.344 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.001419/0.001419, allocations: 185.5 kB / 17.3 MB, free: 5.898 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.16 MB / 206.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: 292.9 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9253/0.9253, allocations: 169.3 MB / 0.4989 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 99.84 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4967/0.4984, allocations: 86.98 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002492/0.501, allocations: 1.432 MB / 0.7685 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003986/0.505, allocations: 2.897 MB / 0.7713 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.786e-05/0.505, allocations: 4 kB / 0.7713 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.5051, allocations: 7.922 kB / 0.7713 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.148e-05/0.5051, allocations: 11.86 kB / 0.7713 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003483/0.5086, allocations: 1.581 MB / 0.7729 GB, free: 14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.867e-05/0.5087, allocations: 47.67 kB / 0.7729 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.5088, allocations: 3.984 kB / 0.7729 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.691e-05/0.5088, allocations: 15.94 kB / 0.7729 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.759e-05/0.5088, allocations: 19.92 kB / 0.7729 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.5089, allocations: 4 kB / 0.7729 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001975/0.5108, allocations: 1.529 MB / 0.7744 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.5109, allocations: 7.922 kB / 0.7744 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.5109, allocations: 23.86 kB / 0.7745 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.5122, allocations: 1.09 MB / 0.7755 GB, free: 11.26 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5122, allocations: 3.984 kB / 0.7755 GB, free: 11.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5122, allocations: 0 / 0.7755 GB, free: 11.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.5122, allocations: 4 kB / 0.7755 GB, free: 11.25 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.0005621/0.5128, allocations: 0.5185 MB / 0.776 GB, free: 10.69 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.5129, allocations: 8.031 kB / 0.7761 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.151e-05/0.5129, allocations: 80.22 kB / 0.7761 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.5131, allocations: 257.8 kB / 0.7764 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/0.5131, allocations: 154.9 kB / 0.7765 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.5132, allocations: 158.9 kB / 0.7767 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.744e-05/0.5133, allocations: 105.1 kB / 0.7768 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.5133, allocations: 79.28 kB / 0.7769 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.839e-05/0.5134, allocations: 150.6 kB / 0.777 GB, free: 9.668 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.3e-05/0.5134, allocations: 154.6 kB / 0.7771 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.038e-05/0.5135, allocations: 150.6 kB / 0.7773 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.5137, allocations: 469.9 kB / 0.7777 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.136e-05/0.5138, allocations: 165.1 kB / 0.7779 GB, free: 8.688 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.204e-05/0.5139, allocations: 88.08 kB / 0.778 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.5139, allocations: 75.28 kB / 0.778 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.5139, allocations: 117.8 kB / 0.7782 GB, free: 8.398 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.5139, allocations: 0 / 0.7782 GB, free: 8.398 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.106e-05/0.514, allocations: 29.64 kB / 0.7782 GB, free: 8.363 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.5141, allocations: 134.7 kB / 0.7783 GB, free: 8.219 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.5142, allocations: 133.7 kB / 0.7784 GB, free: 8.078 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.5142, allocations: 25.7 kB / 0.7785 GB, free: 8.047 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.5143, allocations: 100.1 kB / 0.7786 GB, free: 7.945 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.5143, allocations: 4 kB / 0.7786 GB, free: 7.941 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.5143, allocations: 13.72 kB / 0.7786 GB, free: 7.922 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.5144, allocations: 318.8 kB / 0.7789 GB, free: 7.602 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.051e-05/0.5145, allocations: 4 kB / 0.7789 GB, free: 7.598 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.639e-05/0.5145, allocations: 8 kB / 0.7789 GB, free: 7.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.82e-05/0.5145, allocations: 16.86 kB / 0.7789 GB, free: 7.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5145, allocations: 0 / 0.7789 GB, free: 7.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001241/0.5147, allocations: 57.47 kB / 0.779 GB, free: 7.508 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.5147, allocations: 8 kB / 0.779 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.5147, allocations: 4.062 kB / 0.779 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.5147, allocations: 4 kB / 0.779 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.5147, allocations: 0 / 0.779 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.5147, allocations: 0 / 0.779 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.5148, allocations: 3.938 kB / 0.779 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.5148, allocations: 0 / 0.779 GB, free: 7.488 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 9.34e-05/0.5149, allocations: 185.1 kB / 0.7792 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.243e-05/0.5149, allocations: 116.8 kB / 0.7793 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.923e-05/0.515, allocations: 116.8 kB / 0.7794 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.494e-05/0.5151, allocations: 180.3 kB / 0.7796 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.026e-05/0.5151, allocations: 184.2 kB / 0.7797 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.729e-05/0.5152, allocations: 184.2 kB / 0.7799 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.5154, allocations: 409.2 kB / 0.7803 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.565e-05/0.5154, allocations: 116.9 kB / 0.7804 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.5155, allocations: 101 kB / 0.7805 GB, free: 5.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.668e-05/0.5155, allocations: 180.2 kB / 0.7807 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/0.5156, allocations: 180.2 kB / 0.7808 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.24e-05/0.5157, allocations: 184.3 kB / 0.781 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.074e-05/0.5157, allocations: 184.1 kB / 0.7812 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.5159, allocations: 315.7 kB / 0.7815 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.529e-05/0.516, allocations: 186 kB / 0.7817 GB, free: 4.531 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.33e-05/0.516, allocations: 176.3 kB / 0.7818 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.329e-05/0.5161, allocations: 108.9 kB / 0.782 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.309e-05/0.5162, allocations: 184.3 kB / 0.7821 GB, free: 4.051 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.5162, allocations: 112.9 kB / 0.7822 GB, free: 3.934 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.557e-05/0.5163, allocations: 98.23 kB / 0.7823 GB, free: 3.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5163, allocations: 0 / 0.7823 GB, free: 3.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006546/0.517, allocations: 283.8 kB / 0.7826 GB, free: 3.562 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.001039/0.518, allocations: 0.5364 MB / 0.7831 GB, free: 3.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001093/0.5181, allocations: 37.7 kB / 0.7832 GB, free: 2.977 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5182, allocations: 3.938 kB / 0.7832 GB, free: 2.973 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.5182, allocations: 0 / 0.7832 GB, free: 2.973 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.5186, allocations: 475.6 kB / 0.7836 GB, free: 2.504 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.5189, allocations: 261.8 kB / 0.7839 GB, free: 2.215 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.5191, allocations: 0.6846 MB / 0.7845 GB, free: 1.504 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.018e-05/0.5192, allocations: 7.438 kB / 0.7845 GB, free: 1.496 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5192, allocations: 0 / 0.7845 GB, free: 1.496 MB / 0.545 GB Notification: Performance of Templates: time 0.007134/0.5263, allocations: 4.742 MB / 0.7892 GB, free: 12.76 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)