Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.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.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001563/0.001563, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.336/1.336, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 300 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9281/0.9281, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 96.83 kB / 0.5945 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1615, allocations: 86.98 MB / 0.6794 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002439/0.1639, allocations: 1.454 MB / 0.6809 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.1662, allocations: 1.919 MB / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.208e-05/0.1662, allocations: 0 / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009046/0.1671, allocations: 363.2 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.353e-05/0.1672, allocations: 19.91 kB / 0.6831 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.106e-06/0.1672, allocations: 0 / 0.6831 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.1674, allocations: 143.1 kB / 0.6832 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.824e-05/0.1674, allocations: 21.5 kB / 0.6833 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.893e-05/0.1675, allocations: 39.75 kB / 0.6833 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.685e-05/0.1676, allocations: 67.77 kB / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.1676, allocations: 0 / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004274/0.1681, allocations: 179.9 kB / 0.6835 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.1681, allocations: 31.84 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.224e-05/0.1682, allocations: 83.53 kB / 0.6836 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004136/0.1686, allocations: 283.1 kB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1686, allocations: 4 kB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1686, allocations: 0 / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1686, allocations: 0 / 0.6839 GB, free: 12.59 MB / 494.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.0006561/0.1693, allocations: 0.4907 MB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.1694, allocations: 8.031 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.1695, allocations: 92.03 kB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.1697, allocations: 291.3 kB / 0.6848 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.878e-05/0.1698, allocations: 154.9 kB / 0.6849 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.085e-05/0.1698, allocations: 158.9 kB / 0.6851 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.03e-05/0.1699, allocations: 105.1 kB / 0.6852 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.1699, allocations: 75.28 kB / 0.6852 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.17, allocations: 150.6 kB / 0.6854 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/0.17, allocations: 150.6 kB / 0.6855 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.782e-05/0.1701, allocations: 154.5 kB / 0.6857 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.1704, allocations: 0.5094 MB / 0.6862 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.487e-05/0.1705, allocations: 173.1 kB / 0.6863 GB, free: 9.949 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.754e-05/0.1705, allocations: 80.14 kB / 0.6864 GB, free: 9.867 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1705, allocations: 75.28 kB / 0.6865 GB, free: 9.793 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.1706, allocations: 117.7 kB / 0.6866 GB, free: 9.668 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.1706, allocations: 0 / 0.6866 GB, free: 9.668 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001602/0.1707, allocations: 45.52 kB / 0.6866 GB, free: 9.617 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.1708, allocations: 130.7 kB / 0.6868 GB, free: 9.477 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.1711, allocations: 318.3 kB / 0.6871 GB, free: 9.156 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.1711, allocations: 25.7 kB / 0.6871 GB, free: 9.125 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.1712, allocations: 116.4 kB / 0.6872 GB, free: 9.008 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.1712, allocations: 4 kB / 0.6872 GB, free: 9.004 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.1713, allocations: 61.73 kB / 0.6873 GB, free: 8.938 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.1714, allocations: 334.8 kB / 0.6876 GB, free: 8.602 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-05/0.1715, allocations: 63.97 kB / 0.6876 GB, free: 8.539 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.1716, allocations: 117.9 kB / 0.6878 GB, free: 8.402 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.1718, allocations: 209.8 kB / 0.688 GB, free: 8.176 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1718, allocations: 0 / 0.688 GB, free: 8.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003878/0.1722, allocations: 245.1 kB / 0.6882 GB, free: 7.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1722, allocations: 7.938 kB / 0.6882 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1722, allocations: 0 / 0.6882 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1722, allocations: 7.938 kB / 0.6882 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.785e-06/0.1722, allocations: 4 kB / 0.6882 GB, free: 7.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1723, allocations: 3.984 kB / 0.6882 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.1724, allocations: 31.84 kB / 0.6882 GB, free: 7.875 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.1724, allocations: 8 kB / 0.6883 GB, free: 7.867 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 0.0001907/0.1726, allocations: 222.4 kB / 0.6885 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.686e-05/0.1727, allocations: 128.6 kB / 0.6886 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.756e-05/0.1727, allocations: 109.9 kB / 0.6887 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.953e-05/0.1728, allocations: 188.2 kB / 0.6889 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.414e-05/0.1728, allocations: 180.2 kB / 0.689 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.337e-05/0.1729, allocations: 180.3 kB / 0.6892 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.1731, allocations: 453.1 kB / 0.6896 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.87e-05/0.1732, allocations: 105 kB / 0.6897 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.1732, allocations: 108.9 kB / 0.6899 GB, free: 6.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-05/0.1733, allocations: 180.3 kB / 0.69 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.084e-05/0.1734, allocations: 176.3 kB / 0.6902 GB, free: 5.746 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.367e-05/0.1734, allocations: 184.2 kB / 0.6904 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.134e-05/0.1735, allocations: 180.2 kB / 0.6905 GB, free: 5.375 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.1736, allocations: 319.6 kB / 0.6908 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.703e-05/0.1737, allocations: 209.8 kB / 0.691 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.757e-05/0.1738, allocations: 176.3 kB / 0.6912 GB, free: 4.629 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.1739, allocations: 105 kB / 0.6913 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.174, allocations: 180.2 kB / 0.6915 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/0.174, allocations: 105 kB / 0.6916 GB, free: 4.227 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.1742, allocations: 217.9 kB / 0.6918 GB, free: 4.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1742, allocations: 0 / 0.6918 GB, free: 4.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003335/0.1745, allocations: 64 kB / 0.6919 GB, free: 3.957 MB / 494.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.0002996/0.1749, allocations: 282.8 kB / 0.6921 GB, free: 3.672 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.175, allocations: 103.9 kB / 0.6922 GB, free: 3.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.175, allocations: 0 / 0.6922 GB, free: 3.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.816e-06/0.1751, allocations: 3.938 kB / 0.6922 GB, free: 3.566 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.1754, allocations: 0.5273 MB / 0.6927 GB, free: 3.031 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.1759, allocations: 434.8 kB / 0.6932 GB, free: 2.582 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.1762, allocations: 0.7355 MB / 0.6939 GB, free: 1.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.313e-05/0.1762, allocations: 3.984 kB / 0.6939 GB, free: 1.816 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.733e-05/0.1762, allocations: 11.44 kB / 0.6939 GB, free: 1.805 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1762, allocations: 4 kB / 0.6939 GB, free: 1.801 MB / 494.1 MB Notification: Performance of Templates: time 0.004873/0.1811, allocations: 2.244 MB / 0.6961 GB, free: 15.57 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)