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: translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 103.8 kB / 16.27 MB, free: 5.984 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.001486/0.001486, allocations: 191.2 kB / 17.2 MB, free: 5.609 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.295/1.295, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002411/0.002411, allocations: 293.8 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.144/1.144, allocations: 178.5 MB / 0.5079 GB, free: 12.72 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002755/0.002755, allocations: 100.2 kB / 0.6071 GB, free: 9.277 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1772, allocations: 89.13 MB / 0.6942 GB, free: 60 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002875/0.1802, allocations: 1.604 MB / 0.6957 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008533/0.181, allocations: 0.4957 MB / 0.6962 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.1811, allocations: 7.938 kB / 0.6962 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.852e-05/0.1812, allocations: 7.938 kB / 0.6962 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.209e-05/0.1812, allocations: 15.8 kB / 0.6962 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.1815, allocations: 35.89 kB / 0.6963 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.1816, allocations: 91.69 kB / 0.6964 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.1818, allocations: 40.22 kB / 0.6964 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.489e-05/0.1819, allocations: 31.92 kB / 0.6964 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.009e-05/0.1819, allocations: 43.77 kB / 0.6965 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.182, allocations: 4 kB / 0.6965 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.646e-05/0.182, allocations: 19.98 kB / 0.6965 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.121e-05/0.1821, allocations: 23.92 kB / 0.6965 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.757e-05/0.1821, allocations: 27.81 kB / 0.6965 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.1823, allocations: 87.92 kB / 0.6966 GB, free: 13.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1823, allocations: 0 / 0.6966 GB, free: 13.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1823, allocations: 0 / 0.6966 GB, free: 13.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.1823, allocations: 4 kB / 0.6966 GB, free: 13.5 MB / 0.545 GB 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.0005378/0.1829, allocations: 399.1 kB / 0.697 GB, free: 13.06 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1829, allocations: 8.031 kB / 0.697 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.183, allocations: 24.75 kB / 0.697 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.1832, allocations: 192.1 kB / 0.6972 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1832, allocations: 8.375 kB / 0.6972 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.1832, allocations: 4.375 kB / 0.6972 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.1835, allocations: 109.9 kB / 0.6973 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.1835, allocations: 0 / 0.6973 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1835, allocations: 0 / 0.6973 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1835, allocations: 4 kB / 0.6973 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.1837, allocations: 103.9 kB / 0.6974 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.1843, allocations: 380.5 kB / 0.6978 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.1845, allocations: 66.48 kB / 0.6979 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.1846, allocations: 48.95 kB / 0.6979 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.1846, allocations: 3.984 kB / 0.6979 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1847, allocations: 38.56 kB / 0.698 GB, free: 11.97 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.1847, allocations: 0 / 0.698 GB, free: 11.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.000449/0.1851, allocations: 161.6 kB / 0.6981 GB, free: 11.81 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.1852, allocations: 55.41 kB / 0.6982 GB, free: 11.74 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.1853, allocations: 143.2 kB / 0.6983 GB, free: 11.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1853, allocations: 25.7 kB / 0.6983 GB, free: 11.56 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.1854, allocations: 108.1 kB / 0.6984 GB, free: 11.45 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.1854, allocations: 15.75 kB / 0.6984 GB, free: 11.44 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.1855, allocations: 21.7 kB / 0.6985 GB, free: 11.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1856, allocations: 322.8 kB / 0.6988 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.1857, allocations: 35.97 kB / 0.6988 GB, free: 11.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.933e-05/0.1858, allocations: 39.97 kB / 0.6988 GB, free: 11.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.1861, allocations: 88.8 kB / 0.6989 GB, free: 10.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1861, allocations: 3.938 kB / 0.6989 GB, free: 10.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000272/0.1864, allocations: 129.5 kB / 0.6991 GB, free: 10.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1864, allocations: 4 kB / 0.6991 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1864, allocations: 4 kB / 0.6991 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1864, allocations: 3.938 kB / 0.6991 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.1865, allocations: 19.92 kB / 0.6991 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1866, allocations: 0 / 0.6991 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.137e-05/0.1866, allocations: 15.89 kB / 0.6991 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.1867, allocations: 4 kB / 0.6991 GB, free: 10.73 MB / 0.545 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 (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 9.029e-05/0.1868, allocations: 121.8 kB / 0.6992 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.1868, allocations: 4 kB / 0.6992 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.1871, allocations: 150.6 kB / 0.6994 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1872, allocations: 3.938 kB / 0.6994 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1872, allocations: 64 / 0.6994 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1872, allocations: 4 kB / 0.6994 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.1874, allocations: 209.5 kB / 0.6996 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1874, allocations: 0 / 0.6996 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.773e-05/0.1875, allocations: 19.98 kB / 0.6996 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1875, allocations: 0 / 0.6996 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.1875, allocations: 0 / 0.6996 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1876, allocations: 3.938 kB / 0.6996 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1876, allocations: 0 / 0.6996 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.1879, allocations: 227.4 kB / 0.6998 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/0.1879, allocations: 81.02 kB / 0.6999 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.188, allocations: 4 kB / 0.6999 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.741e-05/0.1881, allocations: 15.86 kB / 0.6999 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.1881, allocations: 11.97 kB / 0.6999 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.1881, allocations: 4 kB / 0.6999 GB, free: 9.793 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.712e-05/0.1882, allocations: 105.5 kB / 0.7 GB, free: 9.691 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1882, allocations: 0 / 0.7 GB, free: 9.691 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002224/0.1884, allocations: 16 kB / 0.7 GB, free: 9.676 MB / 0.545 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 (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.0001436/0.1886, allocations: 99.23 kB / 0.7001 GB, free: 9.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002833/0.1889, allocations: 103.9 kB / 0.7002 GB, free: 9.469 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1889, allocations: 0 / 0.7002 GB, free: 9.469 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.189, allocations: 51.91 kB / 0.7003 GB, free: 9.418 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.1892, allocations: 19.81 kB / 0.7003 GB, free: 9.398 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.1897, allocations: 252.7 kB / 0.7005 GB, free: 9.121 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.19, allocations: 0.708 MB / 0.7012 GB, free: 8.387 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.1901, allocations: 15.42 kB / 0.7012 GB, free: 8.371 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.1901, allocations: 0 / 0.7012 GB, free: 8.371 MB / 0.545 GB Notification: Performance of Templates: time 0.002729/0.1928, allocations: 1.107 MB / 0.7023 GB, free: 7.27 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)