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.006595/0.006595, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001521/0.001521, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002062/0.002062, allocations: 288 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9409/0.9409, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 95.86 kB / 0.6815 GB, free: 6.906 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4238, allocations: 86.98 MB / 0.7665 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002208/0.426, allocations: 1.428 MB / 0.7679 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003878/0.4299, allocations: 2.893 MB / 0.7707 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.494e-05/0.43, allocations: 0 / 0.7707 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.31e-05/0.43, allocations: 7.938 kB / 0.7707 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.721e-05/0.4301, allocations: 19.84 kB / 0.7707 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003498/0.4336, allocations: 1.582 MB / 0.7723 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.477e-05/0.4337, allocations: 47.67 kB / 0.7723 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.188e-05/0.4337, allocations: 0 / 0.7723 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.435e-05/0.4338, allocations: 11.94 kB / 0.7723 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.608e-05/0.4338, allocations: 15.92 kB / 0.7723 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.4338, allocations: 0 / 0.7723 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.4358, allocations: 1.541 MB / 0.7738 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.4358, allocations: 3.938 kB / 0.7738 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.4358, allocations: 19.88 kB / 0.7739 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.4371, allocations: 1.105 MB / 0.7749 GB, free: 11.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.4371, allocations: 0 / 0.7749 GB, free: 11.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4371, allocations: 0 / 0.7749 GB, free: 11.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.4371, allocations: 0 / 0.7749 GB, free: 11.23 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.000525/0.4376, allocations: 0.5363 MB / 0.7755 GB, free: 10.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.4377, allocations: 12.03 kB / 0.7755 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.4377, allocations: 88.17 kB / 0.7756 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.4379, allocations: 246.1 kB / 0.7758 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.011e-05/0.4379, allocations: 150.9 kB / 0.7759 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.438, allocations: 154.9 kB / 0.7761 GB, free: 9.969 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.182e-05/0.438, allocations: 109 kB / 0.7762 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.4381, allocations: 79.28 kB / 0.7763 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.406e-05/0.4381, allocations: 154.6 kB / 0.7764 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.862e-05/0.4382, allocations: 150.6 kB / 0.7766 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.277e-05/0.4382, allocations: 150.6 kB / 0.7767 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002622/0.4385, allocations: 469.8 kB / 0.7771 GB, free: 8.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.553e-05/0.4386, allocations: 181.1 kB / 0.7773 GB, free: 8.633 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.484e-05/0.4386, allocations: 80.14 kB / 0.7774 GB, free: 8.551 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.4387, allocations: 75.28 kB / 0.7775 GB, free: 8.477 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.4387, allocations: 109.8 kB / 0.7776 GB, free: 8.359 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.4387, allocations: 4 kB / 0.7776 GB, free: 8.355 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.07e-05/0.4388, allocations: 33.66 kB / 0.7776 GB, free: 8.316 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.4388, allocations: 130.6 kB / 0.7777 GB, free: 8.176 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.439, allocations: 137.8 kB / 0.7779 GB, free: 8.031 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.439, allocations: 25.7 kB / 0.7779 GB, free: 8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.439, allocations: 104.1 kB / 0.778 GB, free: 7.895 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.439, allocations: 4 kB / 0.778 GB, free: 7.891 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.4391, allocations: 13.72 kB / 0.778 GB, free: 7.871 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.4392, allocations: 322.8 kB / 0.7783 GB, free: 7.547 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.174e-05/0.4392, allocations: 4 kB / 0.7783 GB, free: 7.543 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.594e-05/0.4392, allocations: 4 kB / 0.7783 GB, free: 7.539 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.625e-05/0.4393, allocations: 16.8 kB / 0.7783 GB, free: 7.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4393, allocations: 4 kB / 0.7783 GB, free: 7.516 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00012/0.4394, allocations: 49.62 kB / 0.7784 GB, free: 7.461 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.4394, allocations: 11.94 kB / 0.7784 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.4395, allocations: 0 / 0.7784 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.4395, allocations: 0 / 0.7784 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.334e-06/0.4395, allocations: 4 kB / 0.7784 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.4395, allocations: 4.062 kB / 0.7784 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.152e-05/0.4395, allocations: 3.953 kB / 0.7784 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.4395, allocations: 0 / 0.7784 GB, free: 7.438 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.101e-05/0.4396, allocations: 189.1 kB / 0.7786 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.4397, allocations: 108.9 kB / 0.7787 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.374e-05/0.4397, allocations: 116.8 kB / 0.7788 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.636e-05/0.4398, allocations: 180.3 kB / 0.779 GB, free: 6.824 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.113e-05/0.4399, allocations: 184.3 kB / 0.7791 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.115e-05/0.4399, allocations: 184.2 kB / 0.7793 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.4401, allocations: 409.2 kB / 0.7797 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.044e-05/0.4402, allocations: 116.9 kB / 0.7798 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.4402, allocations: 101 kB / 0.7799 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.675e-05/0.4403, allocations: 184.3 kB / 0.7801 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.003e-05/0.4403, allocations: 184.1 kB / 0.7803 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.168e-05/0.4404, allocations: 180.3 kB / 0.7804 GB, free: 5.207 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-05/0.4405, allocations: 184.2 kB / 0.7806 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.4406, allocations: 303.8 kB / 0.7809 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.321e-05/0.4407, allocations: 193.9 kB / 0.7811 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.511e-05/0.4407, allocations: 180.2 kB / 0.7813 GB, free: 4.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.84e-05/0.4408, allocations: 104.9 kB / 0.7814 GB, free: 4.191 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.4409, allocations: 176.3 kB / 0.7815 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.4409, allocations: 109 kB / 0.7816 GB, free: 3.898 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.324e-05/0.441, allocations: 118.2 kB / 0.7818 GB, free: 3.785 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.441, allocations: 0 / 0.7818 GB, free: 3.785 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006218/0.4416, allocations: 283 kB / 0.782 GB, free: 3.508 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.0009422/0.4425, allocations: 0.5316 MB / 0.7825 GB, free: 2.969 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.4427, allocations: 49.69 kB / 0.7826 GB, free: 2.914 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4427, allocations: 0 / 0.7826 GB, free: 2.914 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.4427, allocations: 0 / 0.7826 GB, free: 2.914 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.4431, allocations: 465.5 kB / 0.783 GB, free: 2.457 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.4433, allocations: 240.1 kB / 0.7833 GB, free: 2.195 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.4436, allocations: 0.6807 MB / 0.7839 GB, free: 1.488 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.174e-05/0.4436, allocations: 3.938 kB / 0.7839 GB, free: 1.484 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.072e-05/0.4436, allocations: 11.44 kB / 0.7839 GB, free: 1.473 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4436, allocations: 0 / 0.7839 GB, free: 1.473 MB / 0.545 GB Notification: Performance of Templates: time 0.008368/0.452, allocations: 5.618 MB / 0.7894 GB, free: 11.91 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)