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.001752/0.001752, allocations: 108 kB / 15.61 MB, free: 152 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.001901/0.001901, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001991/0.001991, allocations: 275 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9179/0.9179, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 98.81 kB / 0.5952 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1721, allocations: 86.98 MB / 0.6802 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002871/0.175, allocations: 1.399 MB / 0.6815 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.1774, allocations: 1.935 MB / 0.6834 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.1774, allocations: 0 / 0.6834 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.1786, allocations: 381.9 kB / 0.6838 GB, free: 13 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.255e-05/0.1787, allocations: 23.84 kB / 0.6838 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.1e-06/0.1787, allocations: 4 kB / 0.6838 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.1789, allocations: 123.2 kB / 0.6839 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.277e-05/0.179, allocations: 21.48 kB / 0.684 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.974e-05/0.179, allocations: 43.86 kB / 0.684 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.1791, allocations: 59.72 kB / 0.6841 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.1791, allocations: 0 / 0.6841 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004713/0.1796, allocations: 183.9 kB / 0.6842 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.652e-05/0.1797, allocations: 31.84 kB / 0.6843 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.1797, allocations: 67.61 kB / 0.6843 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004139/0.1802, allocations: 291.1 kB / 0.6846 GB, free: 12.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1802, allocations: 4 kB / 0.6846 GB, free: 12.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1802, allocations: 0 / 0.6846 GB, free: 12.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1802, allocations: 0 / 0.6846 GB, free: 12.16 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.0006318/0.1808, allocations: 0.4907 MB / 0.6851 GB, free: 11.62 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1809, allocations: 11.98 kB / 0.6851 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.181, allocations: 92.03 kB / 0.6852 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.1812, allocations: 295.3 kB / 0.6855 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.857e-05/0.1813, allocations: 154.9 kB / 0.6856 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.1813, allocations: 154.9 kB / 0.6858 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.227e-05/0.1814, allocations: 109 kB / 0.6859 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.1814, allocations: 79.28 kB / 0.6859 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.247e-05/0.1815, allocations: 150.6 kB / 0.6861 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-05/0.1815, allocations: 158.5 kB / 0.6862 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.761e-05/0.1816, allocations: 150.6 kB / 0.6864 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/0.1819, allocations: 0.5055 MB / 0.6869 GB, free: 9.691 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.189e-05/0.182, allocations: 169.1 kB / 0.687 GB, free: 9.516 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.182, allocations: 84.14 kB / 0.6871 GB, free: 9.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.182, allocations: 75.28 kB / 0.6872 GB, free: 9.355 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.1821, allocations: 113.7 kB / 0.6873 GB, free: 9.234 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.1821, allocations: 0 / 0.6873 GB, free: 9.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.000156/0.1823, allocations: 45.52 kB / 0.6873 GB, free: 9.184 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.1823, allocations: 130.7 kB / 0.6875 GB, free: 9.043 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.1826, allocations: 322.3 kB / 0.6878 GB, free: 8.719 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1827, allocations: 25.7 kB / 0.6878 GB, free: 8.688 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.876e-05/0.1827, allocations: 120.4 kB / 0.6879 GB, free: 8.566 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.1827, allocations: 3.938 kB / 0.6879 GB, free: 8.562 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.086e-05/0.1828, allocations: 61.69 kB / 0.688 GB, free: 8.496 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1829, allocations: 326.8 kB / 0.6883 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.484e-05/0.183, allocations: 67.89 kB / 0.6884 GB, free: 8.102 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1831, allocations: 122 kB / 0.6885 GB, free: 7.961 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.1833, allocations: 201.8 kB / 0.6887 GB, free: 7.742 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1833, allocations: 0 / 0.6887 GB, free: 7.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003846/0.1837, allocations: 249.1 kB / 0.6889 GB, free: 7.492 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1837, allocations: 4.219 kB / 0.6889 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.1838, allocations: 4 kB / 0.6889 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1838, allocations: 4 kB / 0.6889 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.424e-06/0.1838, allocations: 4 kB / 0.6889 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1838, allocations: 3.984 kB / 0.6889 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.1839, allocations: 27.62 kB / 0.6889 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1839, allocations: 4 kB / 0.6889 GB, free: 7.441 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.0001978/0.1841, allocations: 226.4 kB / 0.6892 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.997e-05/0.1842, allocations: 132.6 kB / 0.6893 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.738e-05/0.1843, allocations: 113.9 kB / 0.6894 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.341e-05/0.1843, allocations: 180.2 kB / 0.6896 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-05/0.1844, allocations: 180.2 kB / 0.6897 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-05/0.1844, allocations: 184.1 kB / 0.6899 GB, free: 6.398 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.1847, allocations: 449.2 kB / 0.6903 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-05/0.1847, allocations: 109 kB / 0.6904 GB, free: 5.789 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.429e-05/0.1847, allocations: 108.9 kB / 0.6906 GB, free: 5.676 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.005e-05/0.1848, allocations: 176.3 kB / 0.6907 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.237e-05/0.1849, allocations: 184.2 kB / 0.6909 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.091e-05/0.1849, allocations: 180.3 kB / 0.6911 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.468e-05/0.185, allocations: 184.2 kB / 0.6912 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.1851, allocations: 315.6 kB / 0.6915 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.287e-05/0.1852, allocations: 205.8 kB / 0.6917 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.956e-05/0.1853, allocations: 180.3 kB / 0.6919 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.1854, allocations: 105 kB / 0.692 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.1855, allocations: 184.5 kB / 0.6922 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.1855, allocations: 105 kB / 0.6923 GB, free: 3.789 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001789/0.1857, allocations: 213.9 kB / 0.6925 GB, free: 3.582 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1857, allocations: 0 / 0.6925 GB, free: 3.582 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003247/0.186, allocations: 64 kB / 0.6926 GB, free: 3.52 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.0002966/0.1863, allocations: 278.4 kB / 0.6928 GB, free: 3.238 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001709/0.1865, allocations: 107.8 kB / 0.6929 GB, free: 3.133 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1865, allocations: 448 / 0.6929 GB, free: 3.133 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.1865, allocations: 4 kB / 0.6929 GB, free: 3.129 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.1869, allocations: 461 kB / 0.6934 GB, free: 2.672 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/0.1873, allocations: 397.1 kB / 0.6937 GB, free: 2.262 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.1876, allocations: 0.7392 MB / 0.6945 GB, free: 1.496 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.17e-05/0.1876, allocations: 3.984 kB / 0.6945 GB, free: 1.492 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.569e-05/0.1876, allocations: 11.44 kB / 0.6945 GB, free: 1.48 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1877, allocations: 0 / 0.6945 GB, free: 1.48 MB / 494.1 MB Notification: Performance of Templates: time 0.004898/0.1926, allocations: 2.302 MB / 0.6967 GB, free: 15.19 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)