Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",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.001059/0.001059, allocations: 109.4 kB / 15.69 MB, free: 128 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.001064/0.001064, allocations: 186.2 kB / 16.62 MB, free: 6.613 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.315/1.315, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.668/1.668, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001425/0.001425, allocations: 76.55 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1815, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.00303/0.1846, allocations: 1.846 MB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.1858, allocations: 0.7645 MB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.251e-05/0.1859, allocations: 4 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.864e-05/0.186, allocations: 15.8 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.1862, allocations: 50.77 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.1864, allocations: 83.77 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.1866, allocations: 131.4 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1868, allocations: 37.66 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.01e-05/0.1868, allocations: 47.8 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.187, allocations: 47.83 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.187, allocations: 12 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.664e-05/0.1871, allocations: 15.94 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.1871, allocations: 23.97 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.1872, allocations: 47.73 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.1873, allocations: 111.6 kB / 0.7868 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1873, allocations: 0 / 0.7868 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1873, allocations: 0 / 0.7868 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.1873, allocations: 0 / 0.7868 GB, free: 9.977 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005567/0.1879, allocations: 417.5 kB / 0.7872 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1879, allocations: 16.03 kB / 0.7872 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.188, allocations: 34.75 kB / 0.7872 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.188, allocations: 20.69 kB / 0.7872 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.1882, allocations: 196.1 kB / 0.7874 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.1883, allocations: 4.375 kB / 0.7874 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.1883, allocations: 8.375 kB / 0.7874 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.1885, allocations: 89.78 kB / 0.7875 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.1885, allocations: 0 / 0.7875 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1885, allocations: 4 kB / 0.7875 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1886, allocations: 11.98 kB / 0.7875 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.1888, allocations: 59.86 kB / 0.7876 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.1892, allocations: 372.4 kB / 0.788 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.1895, allocations: 62.53 kB / 0.788 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.352e-05/0.1896, allocations: 32.83 kB / 0.788 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.1896, allocations: 0 / 0.788 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.1896, allocations: 34.5 kB / 0.7881 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1896, allocations: 0 / 0.7881 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003511/0.19, allocations: 93.64 kB / 0.7882 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.19, allocations: 59.41 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.1901, allocations: 157.3 kB / 0.7884 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.1902, allocations: 25.7 kB / 0.7884 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.1902, allocations: 111.9 kB / 0.7885 GB, free: 8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.917e-06/0.1902, allocations: 3.906 kB / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.1903, allocations: 17.72 kB / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1904, allocations: 318.8 kB / 0.7888 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.595e-05/0.1905, allocations: 32.83 kB / 0.7889 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.003e-05/0.1906, allocations: 23.98 kB / 0.7889 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.1907, allocations: 44.81 kB / 0.7889 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1908, allocations: 0 / 0.7889 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002258/0.191, allocations: 89.5 kB / 0.789 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.191, allocations: 18.59 kB / 0.789 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.191, allocations: 0 / 0.789 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.191, allocations: 0 / 0.789 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.701e-05/0.1911, allocations: 11.98 kB / 0.789 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1911, allocations: 0 / 0.789 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.154e-05/0.1912, allocations: 7.938 kB / 0.7891 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1912, allocations: 7.984 kB / 0.7891 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001215/0.1914, allocations: 104.1 kB / 0.7892 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.471e-05/0.1914, allocations: 27.92 kB / 0.7892 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001523/0.1916, allocations: 44.81 kB / 0.7892 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.71e-07/0.1916, allocations: 0 / 0.7892 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.0002025/0.1918, allocations: 85.5 kB / 0.7893 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.203e-06/0.1918, allocations: 8 kB / 0.7893 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-06/0.1918, allocations: 3.938 kB / 0.7893 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-06/0.1918, allocations: 0 / 0.7893 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.461e-05/0.1919, allocations: 15.98 kB / 0.7893 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-06/0.1919, allocations: 0 / 0.7893 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.572e-05/0.192, allocations: 11.89 kB / 0.7893 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-06/0.192, allocations: 0 / 0.7893 GB, free: 7.102 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 7.806e-05/0.1921, allocations: 180.9 kB / 0.7895 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.1921, allocations: 11.84 kB / 0.7895 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.1923, allocations: 90.3 kB / 0.7896 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1924, allocations: 48 / 0.7896 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1924, allocations: 7.984 kB / 0.7896 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1924, allocations: 0 / 0.7896 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.1926, allocations: 185.6 kB / 0.7898 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.1926, allocations: 3.984 kB / 0.7898 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.958e-05/0.1926, allocations: 8 kB / 0.7898 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1926, allocations: 3.938 kB / 0.7898 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.1927, allocations: 0 / 0.7898 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1927, allocations: 0 / 0.7898 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1927, allocations: 4 kB / 0.7898 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.1929, allocations: 175.3 kB / 0.79 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.193, allocations: 92.95 kB / 0.7901 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.193, allocations: 4 kB / 0.7901 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.314e-05/0.1931, allocations: 7.984 kB / 0.7901 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.1931, allocations: 4 kB / 0.7901 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.1931, allocations: 4 kB / 0.7901 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.871e-05/0.1932, allocations: 117.7 kB / 0.7902 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1932, allocations: 0 / 0.7902 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003089/0.1935, allocations: 43.84 kB / 0.7902 GB, free: 6.074 MB / 0.6075 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 (3): * Single equations (assignments): 3 * 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.0005003/0.194, allocations: 0.7123 MB / 0.7909 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002951/0.1943, allocations: 75.88 kB / 0.791 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1944, allocations: 3.938 kB / 0.791 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.326e-05/0.1944, allocations: 23.97 kB / 0.791 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.1948, allocations: 30.41 kB / 0.7911 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.1964, allocations: 1.534 MB / 0.7926 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.1966, allocations: 0.7004 MB / 0.7933 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.016e-05/0.1967, allocations: 4.438 kB / 0.7933 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.1967, allocations: 27.42 kB / 0.7933 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.1967, allocations: 7.938 kB / 0.7933 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.2135, allocations: 2.657 MB / 0.7959 GB, free: 328 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.143/7.356, allocations: 2.953 kB / 0.7959 GB, free: 328 kB / 0.6075 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1)