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.001054/0.001054, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.008334/0.008334, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.3/1.3, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.628/1.628, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005066/0.0005065, allocations: 20.81 kB / 0.6744 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1787, allocations: 116.3 MB / 0.788 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001378/0.1801, allocations: 1.143 MB / 0.7891 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002871/0.183, allocations: 2.601 MB / 0.7916 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.162e-05/0.183, allocations: 0 / 0.7916 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.1845, allocations: 0.5595 MB / 0.7922 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.132e-05/0.1845, allocations: 15.91 kB / 0.7922 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.086e-06/0.1845, allocations: 0 / 0.7922 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00023/0.1848, allocations: 178.9 kB / 0.7924 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.248e-05/0.1848, allocations: 32.41 kB / 0.7924 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.737e-05/0.1849, allocations: 55.73 kB / 0.7925 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.185, allocations: 79.53 kB / 0.7925 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.1851, allocations: 0 / 0.7925 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009193/0.186, allocations: 499.2 kB / 0.793 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.1861, allocations: 31.84 kB / 0.793 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.454e-05/0.1862, allocations: 125 kB / 0.7932 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004925/0.1867, allocations: 394.3 kB / 0.7935 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1867, allocations: 3.938 kB / 0.7935 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1867, allocations: 0 / 0.7935 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1867, allocations: 0 / 0.7935 GB, free: 5.816 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.0006448/0.1873, allocations: 0.5295 MB / 0.7941 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1874, allocations: 8.031 kB / 0.7941 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.687e-05/0.1874, allocations: 110 kB / 0.7942 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.1876, allocations: 103.9 kB / 0.7943 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.1878, allocations: 302.4 kB / 0.7946 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.553e-05/0.1879, allocations: 150.9 kB / 0.7947 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.1879, allocations: 154.9 kB / 0.7949 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.945e-05/0.188, allocations: 105.5 kB / 0.795 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.188, allocations: 87.22 kB / 0.795 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.1881, allocations: 154.6 kB / 0.7952 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.314e-05/0.1881, allocations: 154.6 kB / 0.7953 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.375e-05/0.1882, allocations: 150.6 kB / 0.7955 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.1885, allocations: 0.5288 MB / 0.796 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.946e-05/0.1886, allocations: 185.1 kB / 0.7962 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.543e-05/0.1886, allocations: 80.14 kB / 0.7962 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.1886, allocations: 75.28 kB / 0.7963 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.1887, allocations: 109.8 kB / 0.7964 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.1887, allocations: 0 / 0.7964 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.000162/0.1888, allocations: 53.36 kB / 0.7965 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.1889, allocations: 130.7 kB / 0.7966 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003948/0.1893, allocations: 437.1 kB / 0.797 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.1893, allocations: 29.7 kB / 0.797 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.211e-05/0.1894, allocations: 132.5 kB / 0.7972 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.1894, allocations: 4 kB / 0.7972 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.1895, allocations: 73.66 kB / 0.7972 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1896, allocations: 334.8 kB / 0.7976 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.1897, allocations: 100.5 kB / 0.7977 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.1898, allocations: 165.3 kB / 0.7978 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.1901, allocations: 305.6 kB / 0.7981 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1901, allocations: 0 / 0.7981 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004653/0.1906, allocations: 333 kB / 0.7984 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1906, allocations: 7.938 kB / 0.7984 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.1906, allocations: 4 kB / 0.7984 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1907, allocations: 4 kB / 0.7984 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.1907, allocations: 0 / 0.7984 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.1907, allocations: 11.92 kB / 0.7984 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.1908, allocations: 47.28 kB / 0.7985 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.1908, allocations: 4 kB / 0.7985 GB, free: 460 kB / 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.0001781/0.191, allocations: 248.5 kB / 0.7987 GB, free: 204 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.704e-05/0.1911, allocations: 128.6 kB / 0.7989 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/0.1912, allocations: 118.9 kB / 0.799 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.305e-05/0.1912, allocations: 176.3 kB / 0.7991 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.185e-05/0.1913, allocations: 180.2 kB / 0.7993 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.557e-05/0.1913, allocations: 176.3 kB / 0.7995 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.1916, allocations: 477.2 kB / 0.7999 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.408e-05/0.1916, allocations: 108.9 kB / 0.8 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.604e-05/0.1917, allocations: 101.1 kB / 0.8001 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.434e-05/0.1917, allocations: 196.1 kB / 0.8003 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.232e-05/0.1918, allocations: 180.3 kB / 0.8005 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.664e-05/0.1918, allocations: 184.3 kB / 0.8007 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-05/0.1919, allocations: 180.2 kB / 0.8008 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.192, allocations: 323.5 kB / 0.8012 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.302e-05/0.1921, allocations: 205.7 kB / 0.8013 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.355e-05/0.1922, allocations: 180.2 kB / 0.8015 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.1923, allocations: 116.9 kB / 0.8016 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.1924, allocations: 176.3 kB / 0.8018 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.1924, allocations: 108.9 kB / 0.8019 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002466/0.1927, allocations: 279.1 kB / 0.8022 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1927, allocations: 0 / 0.8022 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003402/0.193, allocations: 76 kB / 0.8022 GB, free: 12.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.0005172/0.1935, allocations: 0.9488 MB / 0.8032 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001914/0.1937, allocations: 167.8 kB / 0.8033 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1938, allocations: 0 / 0.8033 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.1938, allocations: 0 / 0.8033 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.1941, allocations: 0.5345 MB / 0.8038 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.1968, allocations: 2.946 MB / 0.8067 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.1971, allocations: 0.7785 MB / 0.8075 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.484e-05/0.1971, allocations: 7.938 kB / 0.8075 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.1972, allocations: 51.42 kB / 0.8075 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of SimCode: time 3.3e-07/0.1972, allocations: 0 / 0.8075 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01492/0.2121, allocations: 5.916 MB / 0.8133 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/0.2123, allocations: 236 kB / 0.8135 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/1.843, allocations: 3.5 kB / 0.8135 GB, free: 0.7891 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)