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: "" <> buildModelFMU(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008065/0.0008065, allocations: 97.33 kB / 15.36 MB, free: 0.7305 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.0008481/0.0008481, allocations: 172.8 kB / 16.27 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.292/1.292, allocations: 223.3 MB / 240.3 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001698/0.001698, allocations: 269.2 kB / 291.7 MB, free: 1.801 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8985/0.8985, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000686/0.0006865, allocations: 17.94 kB / 0.5988 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1739, allocations: 88.53 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001581/0.1755, allocations: 1.121 MB / 0.6863 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.1778, allocations: 1.896 MB / 0.6882 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.987e-05/0.1778, allocations: 0 / 0.6882 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009233/0.1787, allocations: 366.6 kB / 0.6885 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.121e-05/0.1788, allocations: 23.84 kB / 0.6885 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.869e-06/0.1788, allocations: 4 kB / 0.6885 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.1791, allocations: 139.1 kB / 0.6887 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.904e-05/0.1791, allocations: 21.61 kB / 0.6887 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.208e-05/0.1792, allocations: 35.86 kB / 0.6887 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.1793, allocations: 67.7 kB / 0.6888 GB, free: 11.31 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1793, allocations: 0 / 0.6888 GB, free: 11.31 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/0.1797, allocations: 176.6 kB / 0.689 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.475e-05/0.1798, allocations: 36.61 kB / 0.689 GB, free: 11.1 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.1799, allocations: 97.31 kB / 0.6891 GB, free: 11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.1804, allocations: 280.8 kB / 0.6894 GB, free: 10.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1804, allocations: 4 kB / 0.6894 GB, free: 10.72 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1804, allocations: 0 / 0.6894 GB, free: 10.72 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1804, allocations: 0 / 0.6894 GB, free: 10.72 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.0006966/0.1811, allocations: 487.8 kB / 0.6898 GB, free: 10.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1811, allocations: 9.781 kB / 0.6898 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.948e-05/0.1812, allocations: 106 kB / 0.6899 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.1814, allocations: 100 kB / 0.69 GB, free: 9.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.1816, allocations: 294.2 kB / 0.6903 GB, free: 9.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.351e-05/0.1817, allocations: 150.9 kB / 0.6905 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.347e-05/0.1818, allocations: 154.9 kB / 0.6906 GB, free: 9.359 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.837e-05/0.1818, allocations: 112.9 kB / 0.6907 GB, free: 9.242 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.1819, allocations: 75.91 kB / 0.6908 GB, free: 9.168 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.182, allocations: 155.4 kB / 0.6909 GB, free: 9.016 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.1821, allocations: 151.1 kB / 0.6911 GB, free: 8.867 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.843e-05/0.1821, allocations: 155.6 kB / 0.6912 GB, free: 8.715 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.1825, allocations: 0.4987 MB / 0.6917 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.651e-05/0.1826, allocations: 173.1 kB / 0.6919 GB, free: 7.988 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.1826, allocations: 80.14 kB / 0.692 GB, free: 7.906 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.1827, allocations: 83.16 kB / 0.692 GB, free: 7.824 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.1827, allocations: 105.8 kB / 0.6921 GB, free: 7.711 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.1827, allocations: 0 / 0.6921 GB, free: 7.711 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001715/0.1829, allocations: 57.44 kB / 0.6922 GB, free: 7.648 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.183, allocations: 130.7 kB / 0.6923 GB, free: 7.508 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.1833, allocations: 318.3 kB / 0.6926 GB, free: 7.188 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.1833, allocations: 25.7 kB / 0.6926 GB, free: 7.156 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.1834, allocations: 120.4 kB / 0.6928 GB, free: 7.035 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-06/0.1834, allocations: 0 / 0.6928 GB, free: 7.035 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.1835, allocations: 53.62 kB / 0.6928 GB, free: 6.977 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1836, allocations: 334.9 kB / 0.6931 GB, free: 6.641 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.1837, allocations: 63.97 kB / 0.6932 GB, free: 6.578 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.1838, allocations: 118 kB / 0.6933 GB, free: 6.441 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.184, allocations: 201.8 kB / 0.6935 GB, free: 6.223 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.184, allocations: 4 kB / 0.6935 GB, free: 6.219 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004566/0.1845, allocations: 241.2 kB / 0.6937 GB, free: 5.977 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1845, allocations: 4 kB / 0.6937 GB, free: 5.973 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.1845, allocations: 7.984 kB / 0.6937 GB, free: 5.965 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1845, allocations: 0 / 0.6937 GB, free: 5.965 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.108e-06/0.1845, allocations: 8 kB / 0.6937 GB, free: 5.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1846, allocations: 3.984 kB / 0.6938 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.1847, allocations: 31.53 kB / 0.6938 GB, free: 5.922 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.1847, allocations: 4 kB / 0.6938 GB, free: 5.918 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.0001844/0.1849, allocations: 230.5 kB / 0.694 GB, free: 5.684 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.185, allocations: 120.7 kB / 0.6941 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/0.1851, allocations: 109.9 kB / 0.6942 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001058/0.1852, allocations: 184.2 kB / 0.6944 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001237/0.1853, allocations: 180.2 kB / 0.6946 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.075e-05/0.1854, allocations: 188.1 kB / 0.6948 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.1856, allocations: 453.2 kB / 0.6952 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-05/0.1857, allocations: 104.9 kB / 0.6953 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.349e-05/0.1857, allocations: 104.9 kB / 0.6954 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.908e-05/0.1858, allocations: 176.3 kB / 0.6956 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-05/0.1859, allocations: 184.2 kB / 0.6957 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.963e-05/0.1859, allocations: 184.3 kB / 0.6959 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.479e-05/0.186, allocations: 184.2 kB / 0.6961 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.1861, allocations: 307.6 kB / 0.6964 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-05/0.1862, allocations: 217.7 kB / 0.6966 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.589e-05/0.1863, allocations: 176.3 kB / 0.6968 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.1864, allocations: 105 kB / 0.6969 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.1865, allocations: 184.2 kB / 0.697 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.1865, allocations: 101 kB / 0.6971 GB, free: 2.273 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.1867, allocations: 217.9 kB / 0.6973 GB, free: 2.066 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1867, allocations: 0 / 0.6973 GB, free: 2.066 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003303/0.1871, allocations: 63.98 kB / 0.6974 GB, free: 2.004 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.0006827/0.1878, allocations: 0.9298 MB / 0.6983 GB, free: 1.047 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.1879, allocations: 99.89 kB / 0.6984 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.188, allocations: 0 / 0.6984 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.136e-06/0.188, allocations: 4 kB / 0.6984 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.1884, allocations: 0.5273 MB / 0.6989 GB, free: 420 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.1909, allocations: 2.449 MB / 0.7013 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.1912, allocations: 0.7433 MB / 0.702 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.233e-05/0.1912, allocations: 4 kB / 0.702 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.1913, allocations: 35.42 kB / 0.7021 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1913, allocations: 0 / 0.7021 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01371/0.205, allocations: 4.558 MB / 0.7065 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.2052, allocations: 241.2 kB / 0.7068 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/1.881, allocations: 3.797 kB / 0.7068 GB, free: 8.41 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)