Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",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.001191/0.001191, 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.001218/0.001218, allocations: 196.7 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.592/1.592, allocations: 292.3 MB / 0.5484 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 66.31 kB / 0.6709 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.177, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002709/0.1798, allocations: 1.486 MB / 0.7842 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003069/0.1829, allocations: 2.643 MB / 0.7868 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.689e-05/0.1829, allocations: 0 / 0.7868 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.1841, allocations: 0.5521 MB / 0.7874 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.814e-05/0.1842, allocations: 15.91 kB / 0.7874 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.835e-06/0.1842, allocations: 0 / 0.7874 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.1844, allocations: 174.9 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.636e-05/0.1845, allocations: 36.41 kB / 0.7876 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.599e-05/0.1845, allocations: 51.69 kB / 0.7876 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.1847, allocations: 79.58 kB / 0.7877 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.1847, allocations: 7.938 kB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009676/0.1857, allocations: 491.2 kB / 0.7882 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.723e-05/0.1857, allocations: 43.77 kB / 0.7882 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.336e-05/0.1858, allocations: 99.36 kB / 0.7883 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000582/0.1864, allocations: 394.4 kB / 0.7887 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1864, allocations: 0 / 0.7887 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.514e-06/0.1865, allocations: 0 / 0.7887 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.1865, allocations: 3.938 kB / 0.7887 GB, free: 7.84 MB / 0.6075 GB 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.0006694/0.1871, allocations: 0.5412 MB / 0.7892 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.1872, allocations: 8.031 kB / 0.7892 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.439e-05/0.1873, allocations: 114 kB / 0.7893 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.1874, allocations: 103.8 kB / 0.7894 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.1877, allocations: 298.4 kB / 0.7897 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/0.1877, allocations: 158.9 kB / 0.7899 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.361e-05/0.1878, allocations: 154.9 kB / 0.79 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.252e-05/0.1879, allocations: 109.5 kB / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.1879, allocations: 87.16 kB / 0.7902 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.838e-05/0.188, allocations: 150.6 kB / 0.7904 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.044e-05/0.188, allocations: 150.6 kB / 0.7905 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.242e-05/0.1881, allocations: 154.6 kB / 0.7906 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.1885, allocations: 0.5327 MB / 0.7912 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.291e-05/0.1886, allocations: 169.1 kB / 0.7913 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.754e-05/0.1886, allocations: 84.14 kB / 0.7914 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.1886, allocations: 75.28 kB / 0.7915 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.1887, allocations: 109.8 kB / 0.7916 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1887, allocations: 0 / 0.7916 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001566/0.1888, allocations: 69.19 kB / 0.7916 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.1889, allocations: 126.7 kB / 0.7918 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/0.1894, allocations: 429.3 kB / 0.7922 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.1894, allocations: 25.7 kB / 0.7922 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.1895, allocations: 132.5 kB / 0.7923 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.1895, allocations: 0 / 0.7923 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/0.1896, allocations: 97.66 kB / 0.7924 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.1898, allocations: 334.8 kB / 0.7927 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.1899, allocations: 104.5 kB / 0.7928 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.1901, allocations: 157.3 kB / 0.793 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.1904, allocations: 305.6 kB / 0.7933 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1904, allocations: 4 kB / 0.7933 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004745/0.1909, allocations: 336.8 kB / 0.7936 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1909, allocations: 11.94 kB / 0.7936 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1909, allocations: 0 / 0.7936 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1909, allocations: 4 kB / 0.7936 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-06/0.1909, allocations: 0 / 0.7936 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1909, allocations: 4 kB / 0.7936 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.1911, allocations: 43.38 kB / 0.7937 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1911, allocations: 7.984 kB / 0.7937 GB, free: 2.445 MB / 0.6075 GB 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.0001878/0.1913, allocations: 249 kB / 0.7939 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-05/0.1913, allocations: 132.5 kB / 0.794 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/0.1914, allocations: 111 kB / 0.7941 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.467e-05/0.1915, allocations: 180.2 kB / 0.7943 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-05/0.1915, allocations: 184.2 kB / 0.7945 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.787e-05/0.1916, allocations: 184.3 kB / 0.7947 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.1919, allocations: 477 kB / 0.7951 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.563e-05/0.1919, allocations: 101.1 kB / 0.7952 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.398e-05/0.1919, allocations: 108.9 kB / 0.7953 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.438e-05/0.192, allocations: 192.2 kB / 0.7955 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.443e-05/0.1921, allocations: 184.2 kB / 0.7957 GB, free: 264 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.706e-05/0.1921, allocations: 184.2 kB / 0.7959 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-05/0.1922, allocations: 176.3 kB / 0.796 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.1925, allocations: 323.5 kB / 0.7963 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000212/0.1927, allocations: 201.8 kB / 0.7965 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.1929, allocations: 188.1 kB / 0.7967 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.1931, allocations: 101 kB / 0.7968 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/0.1932, allocations: 184.2 kB / 0.797 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.1932, allocations: 109 kB / 0.7971 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000254/0.1935, allocations: 279 kB / 0.7974 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1935, allocations: 0 / 0.7974 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005034/0.194, allocations: 76 kB / 0.7974 GB, free: 14.39 MB / 0.6231 GB 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.0007188/0.1947, allocations: 0.9527 MB / 0.7984 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.1949, allocations: 159.9 kB / 0.7985 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1949, allocations: 0 / 0.7985 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.1949, allocations: 448 / 0.7985 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.1953, allocations: 0.5355 MB / 0.799 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/0.1985, allocations: 2.942 MB / 0.8019 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.1989, allocations: 0.7785 MB / 0.8027 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.078e-05/0.1989, allocations: 0 / 0.8027 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.1989, allocations: 54.42 kB / 0.8027 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of SimCode: time 2.71e-07/0.1989, allocations: 0 / 0.8027 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/0.2145, allocations: 6.015 MB / 0.8086 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.2147, allocations: 225 kB / 0.8088 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/1.972, allocations: 3 kB / 0.8088 GB, free: 2.676 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)