Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00126/0.00126, allocations: 98.97 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001369, allocations: 182.1 kB / 16.92 MB, free: 6.754 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.452/1.452, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7297/0.7297, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.000314, allocations: 13.86 kB / 495.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1568, allocations: 77.53 MB / 0.56 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001534/0.1584, allocations: 1.146 MB / 0.5611 GB, free: 7.793 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004474/0.1629, allocations: 2.95 MB / 0.564 GB, free: 4.828 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.129e-05/0.1629, allocations: 0 / 0.564 GB, free: 4.828 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.163, allocations: 3.984 kB / 0.564 GB, free: 4.824 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.508e-05/0.1631, allocations: 11.86 kB / 0.564 GB, free: 4.812 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003555/0.1666, allocations: 1.39 MB / 0.5654 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.423e-05/0.1667, allocations: 43.67 kB / 0.5654 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.1667, allocations: 4 kB / 0.5654 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.548e-05/0.1668, allocations: 11.94 kB / 0.5654 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.771e-05/0.1668, allocations: 19.92 kB / 0.5655 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.377e-06/0.1668, allocations: 0 / 0.5655 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/0.1691, allocations: 1.466 MB / 0.5669 GB, free: 1.902 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.1691, allocations: 7.938 kB / 0.5669 GB, free: 1.895 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.1692, allocations: 45.56 kB / 0.567 GB, free: 1.844 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.1709, allocations: 1.127 MB / 0.5681 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1709, allocations: 4 kB / 0.5681 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.171, allocations: 4 kB / 0.5681 GB, free: 0.707 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.171, allocations: 0 / 0.5681 GB, free: 0.707 MB / 430.1 MB 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.0006873/0.1717, allocations: 0.5068 MB / 0.5686 GB, free: 156 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1717, allocations: 12.03 kB / 0.5686 GB, free: 144 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.1718, allocations: 80.12 kB / 0.5686 GB, free: 64 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.1719, allocations: 247.6 kB / 0.5689 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.98e-05/0.172, allocations: 154.9 kB / 0.569 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.608e-05/0.172, allocations: 158.9 kB / 0.5692 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.428e-05/0.1721, allocations: 109 kB / 0.5693 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.1721, allocations: 75.28 kB / 0.5694 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.551e-05/0.1722, allocations: 150.6 kB / 0.5695 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-05/0.1722, allocations: 150.6 kB / 0.5696 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.182e-05/0.1723, allocations: 154.6 kB / 0.5698 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.1725, allocations: 461.9 kB / 0.5702 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.159e-05/0.1726, allocations: 173.1 kB / 0.5704 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.799e-05/0.1727, allocations: 80.14 kB / 0.5705 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.1727, allocations: 79.33 kB / 0.5705 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.1727, allocations: 117.8 kB / 0.5707 GB, free: 13.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1727, allocations: 3.938 kB / 0.5707 GB, free: 13.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.883e-05/0.1728, allocations: 37.59 kB / 0.5707 GB, free: 13.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.1729, allocations: 126.7 kB / 0.5708 GB, free: 13.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.173, allocations: 135.9 kB / 0.5709 GB, free: 13.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.173, allocations: 29.7 kB / 0.571 GB, free: 13.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.1731, allocations: 96.12 kB / 0.5711 GB, free: 13.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.1731, allocations: 3.938 kB / 0.5711 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.1731, allocations: 21.7 kB / 0.5711 GB, free: 13.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.1732, allocations: 310.8 kB / 0.5714 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.356e-05/0.1732, allocations: 8 kB / 0.5714 GB, free: 13.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.536e-05/0.1733, allocations: 4 kB / 0.5714 GB, free: 13.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.554e-05/0.1733, allocations: 16.84 kB / 0.5714 GB, free: 13.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1733, allocations: 0 / 0.5714 GB, free: 13.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000117/0.1734, allocations: 57.58 kB / 0.5715 GB, free: 12.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1735, allocations: 4 kB / 0.5715 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.1735, allocations: 4 kB / 0.5715 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1735, allocations: 0 / 0.5715 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.1735, allocations: 3.938 kB / 0.5715 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1735, allocations: 0 / 0.5715 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.362e-05/0.1735, allocations: 7.906 kB / 0.5715 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.1736, allocations: 4.047 kB / 0.5715 GB, free: 12.95 MB / 446.1 MB 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.781e-05/0.1736, allocations: 185.1 kB / 0.5717 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.1737, allocations: 113 kB / 0.5718 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.654e-05/0.1738, allocations: 116.6 kB / 0.5719 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.274e-05/0.1738, allocations: 180.2 kB / 0.5721 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-05/0.1739, allocations: 180.2 kB / 0.5722 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.355e-05/0.1739, allocations: 180.2 kB / 0.5724 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.1742, allocations: 417.2 kB / 0.5728 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.695e-05/0.1742, allocations: 109 kB / 0.5729 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.233e-05/0.1742, allocations: 113 kB / 0.573 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.202e-05/0.1743, allocations: 180.2 kB / 0.5732 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.505e-05/0.1744, allocations: 180.2 kB / 0.5734 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.682e-05/0.1744, allocations: 176.3 kB / 0.5735 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.515e-05/0.1745, allocations: 192.2 kB / 0.5737 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.1746, allocations: 307.7 kB / 0.574 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.075e-05/0.1747, allocations: 189.9 kB / 0.5742 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.301e-05/0.1748, allocations: 188.2 kB / 0.5744 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.1748, allocations: 108.9 kB / 0.5745 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.1749, allocations: 180.2 kB / 0.5746 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.1749, allocations: 105 kB / 0.5747 GB, free: 9.402 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.471e-05/0.175, allocations: 97.77 kB / 0.5748 GB, free: 9.309 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.175, allocations: 0 / 0.5748 GB, free: 9.309 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007616/0.1758, allocations: 287.8 kB / 0.5751 GB, free: 9.027 MB / 446.1 MB 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.001162/0.1769, allocations: 0.5365 MB / 0.5756 GB, free: 8.484 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.01e-05/0.177, allocations: 45.69 kB / 0.5757 GB, free: 8.434 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1771, allocations: 3.938 kB / 0.5757 GB, free: 8.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.1771, allocations: 3.938 kB / 0.5757 GB, free: 8.426 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.1775, allocations: 0.5302 MB / 0.5762 GB, free: 7.891 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.1778, allocations: 263.7 kB / 0.5765 GB, free: 7.609 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.178, allocations: 0.6848 MB / 0.5771 GB, free: 6.898 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.363e-05/0.178, allocations: 0 / 0.5771 GB, free: 6.898 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.161e-05/0.178, allocations: 7.438 kB / 0.5771 GB, free: 6.891 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1781, allocations: 0 / 0.5771 GB, free: 6.891 MB / 446.1 MB Notification: Performance of Templates: time 0.009885/0.1879, allocations: 5.667 MB / 0.5827 GB, free: 1.273 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)