Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.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.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",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.001244/0.001244, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00128/0.001281, allocations: 192.7 kB / 16.13 MB, free: 6.711 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.31/1.31, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001974/0.001974, allocations: 290.8 kB / 290.2 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.898/0.898, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 97.22 kB / 0.5946 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1809, allocations: 86.98 MB / 0.6795 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002749/0.1837, allocations: 1.655 MB / 0.6812 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008126/0.1845, allocations: 0.5118 MB / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.295e-05/0.1846, allocations: 0 / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.1847, allocations: 7.875 kB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.74e-05/0.1848, allocations: 11.92 kB / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.185, allocations: 31.92 kB / 0.6817 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.91e-05/0.1851, allocations: 79.75 kB / 0.6818 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.1852, allocations: 48.36 kB / 0.6818 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.441e-05/0.1853, allocations: 35.92 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.514e-05/0.1854, allocations: 39.83 kB / 0.6819 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.1854, allocations: 4 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.236e-05/0.1855, allocations: 11.98 kB / 0.6819 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.1856, allocations: 23.86 kB / 0.6819 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.585e-05/0.1856, allocations: 35.73 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.1858, allocations: 83.7 kB / 0.682 GB, free: 14.51 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1858, allocations: 0 / 0.682 GB, free: 14.51 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1858, allocations: 0 / 0.682 GB, free: 14.51 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1858, allocations: 0 / 0.682 GB, free: 14.51 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005404/0.1863, allocations: 399.2 kB / 0.6824 GB, free: 14.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1864, allocations: 12.02 kB / 0.6824 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.386e-05/0.1864, allocations: 38.75 kB / 0.6825 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.1865, allocations: 16.69 kB / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.1866, allocations: 192.2 kB / 0.6827 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1867, allocations: 8.312 kB / 0.6827 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.1867, allocations: 8.375 kB / 0.6827 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.1869, allocations: 103.9 kB / 0.6828 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1869, allocations: 8 kB / 0.6828 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.187, allocations: 7.984 kB / 0.6828 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.187, allocations: 0 / 0.6828 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.1872, allocations: 95.88 kB / 0.6829 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.1878, allocations: 380.5 kB / 0.6833 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.1879, allocations: 58.48 kB / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.1881, allocations: 48.95 kB / 0.6834 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.1881, allocations: 11.97 kB / 0.6834 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.1881, allocations: 38.56 kB / 0.6834 GB, free: 12.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1881, allocations: 0 / 0.6834 GB, free: 12.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004517/0.1886, allocations: 161.5 kB / 0.6836 GB, free: 12.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.1886, allocations: 55.34 kB / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.703e-05/0.1887, allocations: 132.2 kB / 0.6837 GB, free: 12.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.1888, allocations: 29.7 kB / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/0.1888, allocations: 112.1 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.1889, allocations: 15.8 kB / 0.6839 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.1889, allocations: 21.72 kB / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.189, allocations: 318.8 kB / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.1891, allocations: 39.97 kB / 0.6843 GB, free: 12.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.773e-05/0.1892, allocations: 35.97 kB / 0.6843 GB, free: 11.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.1895, allocations: 92.8 kB / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1895, allocations: 0 / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002881/0.1898, allocations: 125.9 kB / 0.6845 GB, free: 11.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1898, allocations: 8 kB / 0.6845 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1898, allocations: 3.984 kB / 0.6845 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1898, allocations: 3.938 kB / 0.6845 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.19, allocations: 19.98 kB / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.19, allocations: 4 kB / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.386e-05/0.1901, allocations: 23.77 kB / 0.6846 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.1901, allocations: 0 / 0.6846 GB, free: 11.71 MB / 494.1 MB 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 (6): * Single equations (assignments): 6 * 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 0.000108/0.1903, allocations: 118.5 kB / 0.6847 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.1903, allocations: 4 kB / 0.6847 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004236/0.1907, allocations: 154.2 kB / 0.6848 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1908, allocations: 7.875 kB / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1908, allocations: 4 kB / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1908, allocations: 0 / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.191, allocations: 197.6 kB / 0.685 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1911, allocations: 0 / 0.685 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.1912, allocations: 19.97 kB / 0.685 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1912, allocations: 0 / 0.685 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.1912, allocations: 4 kB / 0.685 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.1912, allocations: 7.938 kB / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1912, allocations: 4 kB / 0.6851 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.1916, allocations: 219.3 kB / 0.6853 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.1917, allocations: 85.02 kB / 0.6853 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.1917, allocations: 0 / 0.6853 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.1919, allocations: 15.92 kB / 0.6854 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.192, allocations: 11.98 kB / 0.6854 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.192, allocations: 3.984 kB / 0.6854 GB, free: 10.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.295e-05/0.1921, allocations: 103.3 kB / 0.6855 GB, free: 10.67 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1921, allocations: 0 / 0.6855 GB, free: 10.67 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004122/0.1925, allocations: 12 kB / 0.6855 GB, free: 10.66 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 (6): * Single equations (assignments): 6 * 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.0007601/0.1933, allocations: 0.7633 MB / 0.6862 GB, free: 9.867 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003254/0.1936, allocations: 107.9 kB / 0.6863 GB, free: 9.762 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1936, allocations: 4 kB / 0.6863 GB, free: 9.758 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.1938, allocations: 47.97 kB / 0.6864 GB, free: 9.711 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.1941, allocations: 10.44 kB / 0.6864 GB, free: 9.703 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.1966, allocations: 1.629 MB / 0.688 GB, free: 8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.197, allocations: 0.7004 MB / 0.6887 GB, free: 7.273 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001856/0.1972, allocations: 11.98 kB / 0.6887 GB, free: 7.262 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.612e-05/0.1973, allocations: 27.42 kB / 0.6887 GB, free: 7.234 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1973, allocations: 0 / 0.6887 GB, free: 7.234 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.2126, allocations: 1.787 MB / 0.6905 GB, free: 5.551 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002907/0.2129, allocations: 214.8 kB / 0.6907 GB, free: 5.289 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/1.909, allocations: 0 / 0.6907 GB, free: 5.289 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)