Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.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_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00137/0.00137, allocations: 188.3 kB / 16.25 MB, free: 6.629 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.307/1.307, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001995/0.001995, allocations: 282.8 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9978/0.9978, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 91.86 kB / 0.5947 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.165, allocations: 86.99 MB / 0.6796 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002572/0.1676, allocations: 1.476 MB / 0.6811 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002794/0.1704, allocations: 2.637 MB / 0.6836 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.75e-05/0.1704, allocations: 0 / 0.6836 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.1717, allocations: 0.56 MB / 0.6842 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.054e-05/0.1718, allocations: 15.91 kB / 0.6842 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.988e-06/0.1718, allocations: 0 / 0.6842 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.172, allocations: 155 kB / 0.6844 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.417e-05/0.1721, allocations: 32.41 kB / 0.6844 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.189e-05/0.1722, allocations: 63.73 kB / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.1723, allocations: 83.52 kB / 0.6845 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.1723, allocations: 0 / 0.6845 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008494/0.1732, allocations: 495.2 kB / 0.685 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.1732, allocations: 35.78 kB / 0.685 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.327e-05/0.1733, allocations: 103.4 kB / 0.6851 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004852/0.1738, allocations: 394.3 kB / 0.6855 GB, free: 11.03 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1738, allocations: 3.938 kB / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1739, allocations: 3.938 kB / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1739, allocations: 0 / 0.6855 GB, free: 11.02 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.0007048/0.1746, allocations: 0.5412 MB / 0.686 GB, free: 10.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1746, allocations: 12.03 kB / 0.6861 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.1748, allocations: 107.9 kB / 0.6862 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.175, allocations: 306.2 kB / 0.6864 GB, free: 9.973 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.1751, allocations: 158.9 kB / 0.6866 GB, free: 9.816 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.037e-05/0.1751, allocations: 154.9 kB / 0.6867 GB, free: 9.664 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.903e-05/0.1752, allocations: 105.5 kB / 0.6868 GB, free: 9.555 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.1752, allocations: 75.47 kB / 0.6869 GB, free: 9.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.558e-05/0.1753, allocations: 158.5 kB / 0.6871 GB, free: 9.324 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.277e-05/0.1753, allocations: 154.5 kB / 0.6872 GB, free: 9.172 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.349e-05/0.1754, allocations: 150.6 kB / 0.6874 GB, free: 9.023 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.1757, allocations: 0.5366 MB / 0.6879 GB, free: 8.438 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.883e-05/0.1758, allocations: 169.1 kB / 0.688 GB, free: 8.262 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.1759, allocations: 80.14 kB / 0.6881 GB, free: 8.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.1759, allocations: 79.27 kB / 0.6882 GB, free: 8.102 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.176, allocations: 105.8 kB / 0.6883 GB, free: 7.988 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.176, allocations: 0 / 0.6883 GB, free: 7.988 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001657/0.1761, allocations: 61.3 kB / 0.6884 GB, free: 7.922 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.1762, allocations: 134.7 kB / 0.6885 GB, free: 7.777 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.1766, allocations: 433.2 kB / 0.6889 GB, free: 7.344 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.1766, allocations: 25.7 kB / 0.6889 GB, free: 7.312 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.1767, allocations: 136.5 kB / 0.6891 GB, free: 7.176 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.1767, allocations: 0 / 0.6891 GB, free: 7.176 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.126e-05/0.1768, allocations: 85.67 kB / 0.6891 GB, free: 7.086 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.177, allocations: 338.8 kB / 0.6895 GB, free: 6.746 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.1771, allocations: 100.5 kB / 0.6896 GB, free: 6.648 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.1773, allocations: 169.3 kB / 0.6897 GB, free: 6.465 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.1776, allocations: 305.6 kB / 0.69 GB, free: 6.145 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1776, allocations: 0 / 0.69 GB, free: 6.145 MB / 494.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004592/0.1781, allocations: 333.1 kB / 0.6903 GB, free: 5.812 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1781, allocations: 8.031 kB / 0.6903 GB, free: 5.805 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.1781, allocations: 3.938 kB / 0.6903 GB, free: 5.801 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1781, allocations: 7.938 kB / 0.6903 GB, free: 5.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/0.1781, allocations: 0 / 0.6903 GB, free: 5.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1782, allocations: 4 kB / 0.6903 GB, free: 5.789 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.1783, allocations: 43.28 kB / 0.6904 GB, free: 5.746 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1783, allocations: 4 kB / 0.6904 GB, free: 5.742 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.0002535/0.1786, allocations: 247.8 kB / 0.6906 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-05/0.1787, allocations: 128.6 kB / 0.6908 GB, free: 5.359 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.339e-05/0.1787, allocations: 118.9 kB / 0.6909 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-05/0.1788, allocations: 180.2 kB / 0.691 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.264e-05/0.1789, allocations: 176.3 kB / 0.6912 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.681e-05/0.1789, allocations: 180.4 kB / 0.6914 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.1792, allocations: 485.1 kB / 0.6918 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.664e-05/0.1793, allocations: 105 kB / 0.6919 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/0.1793, allocations: 105 kB / 0.692 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.375e-05/0.1794, allocations: 180.3 kB / 0.6922 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.767e-05/0.1795, allocations: 184.2 kB / 0.6924 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.739e-05/0.1795, allocations: 188.2 kB / 0.6926 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.287e-05/0.1796, allocations: 184.2 kB / 0.6927 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.1798, allocations: 323.4 kB / 0.6931 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.1799, allocations: 201.8 kB / 0.6932 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.611e-05/0.18, allocations: 184.1 kB / 0.6934 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.1801, allocations: 109 kB / 0.6935 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/0.1802, allocations: 180.2 kB / 0.6937 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.1802, allocations: 105 kB / 0.6938 GB, free: 2.031 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002559/0.1805, allocations: 279.1 kB / 0.6941 GB, free: 1.762 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1805, allocations: 0 / 0.6941 GB, free: 1.762 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003596/0.1809, allocations: 79.98 kB / 0.6941 GB, free: 1.684 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.0003495/0.1812, allocations: 297.7 kB / 0.6944 GB, free: 1.387 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.1815, allocations: 167.8 kB / 0.6946 GB, free: 1.223 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1815, allocations: 0 / 0.6946 GB, free: 1.223 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.1815, allocations: 4 kB / 0.6946 GB, free: 1.219 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.1819, allocations: 461.6 kB / 0.695 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006524/0.1825, allocations: 0.534 MB / 0.6955 GB, free: 208 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.1829, allocations: 0.7782 MB / 0.6963 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.38e-05/0.1829, allocations: 7.938 kB / 0.6963 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.902e-05/0.1829, allocations: 15.38 kB / 0.6963 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1829, allocations: 0 / 0.6963 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of Templates: time 0.006099/0.189, allocations: 2.909 MB / 0.6992 GB, free: 12.48 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)