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.005394/0.005394, allocations: 101.5 kB / 15.73 MB, free: 5.953 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.001125/0.001125, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 287 kB / 290.8 MB, free: 1.738 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9346/0.9346, allocations: 169.3 MB / 0.4983 GB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 100.3 kB / 0.6815 GB, free: 15.39 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1524, allocations: 86.97 MB / 0.7665 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002324/0.1548, allocations: 1.432 MB / 0.7679 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003968/0.1587, allocations: 2.896 MB / 0.7707 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.481e-05/0.1588, allocations: 3.938 kB / 0.7707 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.1588, allocations: 7.922 kB / 0.7707 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.648e-05/0.1589, allocations: 19.86 kB / 0.7707 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.1623, allocations: 1.581 MB / 0.7723 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.501e-05/0.1623, allocations: 35.8 kB / 0.7723 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.1624, allocations: 7.938 kB / 0.7723 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.558e-05/0.1624, allocations: 15.94 kB / 0.7723 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.895e-05/0.1625, allocations: 19.86 kB / 0.7723 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.1625, allocations: 0 / 0.7723 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.1644, allocations: 1.534 MB / 0.7738 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.1645, allocations: 8 kB / 0.7738 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.1645, allocations: 19.86 kB / 0.7739 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.302/0.4665, allocations: 1.098 MB / 0.7749 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4665, allocations: 4.031 kB / 0.7749 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4665, allocations: 0 / 0.7749 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.4666, allocations: 0.5 kB / 0.7749 GB, free: 10.7 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.0005865/0.4671, allocations: 0.5195 MB / 0.7754 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.4672, allocations: 10.22 kB / 0.7754 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.4672, allocations: 79.41 kB / 0.7755 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.975e-05/0.4673, allocations: 253 kB / 0.7758 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.4673, allocations: 152.4 kB / 0.7759 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.4674, allocations: 151.5 kB / 0.7761 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.574e-05/0.4674, allocations: 112.3 kB / 0.7762 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4674, allocations: 76.78 kB / 0.7762 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.4675, allocations: 155.5 kB / 0.7764 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.4675, allocations: 152.8 kB / 0.7765 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.667e-05/0.4675, allocations: 154.1 kB / 0.7767 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.4677, allocations: 465.5 kB / 0.7771 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.785e-05/0.4677, allocations: 170.9 kB / 0.7773 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.379e-05/0.4678, allocations: 85.98 kB / 0.7774 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.4678, allocations: 75.89 kB / 0.7774 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.4678, allocations: 112.4 kB / 0.7775 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.4678, allocations: 2.312 kB / 0.7775 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.791e-05/0.4679, allocations: 30.14 kB / 0.7776 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.4679, allocations: 132.4 kB / 0.7777 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.468, allocations: 137 kB / 0.7778 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.086e-06/0.4681, allocations: 27.05 kB / 0.7779 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.4681, allocations: 96.23 kB / 0.778 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-06/0.4681, allocations: 1.281 kB / 0.778 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.4681, allocations: 17.38 kB / 0.778 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.754e-05/0.4682, allocations: 317.4 kB / 0.7783 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.348e-05/0.4682, allocations: 7.984 kB / 0.7783 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.717e-05/0.4683, allocations: 10.33 kB / 0.7783 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.766e-05/0.4683, allocations: 17.95 kB / 0.7783 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4683, allocations: 0 / 0.7783 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001145/0.4684, allocations: 57.44 kB / 0.7784 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.4684, allocations: 4.938 kB / 0.7784 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.4685, allocations: 4.516 kB / 0.7784 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.4685, allocations: 0 / 0.7784 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.4685, allocations: 0.8438 kB / 0.7784 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.4685, allocations: 1.156 kB / 0.7784 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/0.4685, allocations: 2.094 kB / 0.7784 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.4685, allocations: 0.8125 kB / 0.7784 GB, free: 7.305 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 4.991e-05/0.4686, allocations: 189.9 kB / 0.7786 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.4686, allocations: 112.3 kB / 0.7787 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.4687, allocations: 115.9 kB / 0.7788 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.4687, allocations: 177.4 kB / 0.7789 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.151e-05/0.4687, allocations: 183.2 kB / 0.7791 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.009e-05/0.4687, allocations: 181.2 kB / 0.7793 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.4689, allocations: 415.8 kB / 0.7797 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.4689, allocations: 107.5 kB / 0.7798 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.469, allocations: 106.7 kB / 0.7799 GB, free: 21.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-05/0.4691, allocations: 182.9 kB / 0.7801 GB, free: 21.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.155e-05/0.4691, allocations: 180.7 kB / 0.7802 GB, free: 21.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.698e-05/0.4692, allocations: 182.3 kB / 0.7804 GB, free: 21.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.996e-05/0.4693, allocations: 180.2 kB / 0.7806 GB, free: 20.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.4694, allocations: 306.7 kB / 0.7809 GB, free: 20.67 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.4694, allocations: 199.5 kB / 0.7811 GB, free: 20.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/0.4695, allocations: 184 kB / 0.7812 GB, free: 20.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.974e-05/0.4696, allocations: 106.8 kB / 0.7813 GB, free: 20.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.4697, allocations: 181 kB / 0.7815 GB, free: 20 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.4697, allocations: 103.5 kB / 0.7816 GB, free: 19.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.754e-05/0.4698, allocations: 103.8 kB / 0.7817 GB, free: 19.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4698, allocations: 4.031 kB / 0.7817 GB, free: 19.82 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007703/0.4706, allocations: 280.1 kB / 0.782 GB, free: 19.77 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.001043/0.4716, allocations: 0.5381 MB / 0.7825 GB, free: 19.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.4717, allocations: 43.92 kB / 0.7826 GB, free: 19.51 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4717, allocations: 0 / 0.7826 GB, free: 19.51 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-06/0.4717, allocations: 1.25 kB / 0.7826 GB, free: 19.51 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.4721, allocations: 465 kB / 0.783 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.4724, allocations: 245.9 kB / 0.7832 GB, free: 18.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.4727, allocations: 0.6819 MB / 0.7839 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.356e-05/0.4727, allocations: 4.812 kB / 0.7839 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.067e-05/0.4727, allocations: 10 kB / 0.7839 GB, free: 18.15 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.4728, allocations: 0 / 0.7839 GB, free: 18.15 MB / 0.5762 GB Notification: Performance of Templates: time 0.009745/0.4825, allocations: 5.612 MB / 0.7894 GB, free: 17.8 MB / 0.5762 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)