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.001057/0.001057, allocations: 108 kB / 15.61 MB, free: 152 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.001132/0.001132, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002078/0.002078, allocations: 286.9 kB / 290.7 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.925/0.925, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 95.36 kB / 0.5952 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1622, allocations: 86.98 MB / 0.6802 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002529/0.1648, allocations: 1.587 MB / 0.6817 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007496/0.1655, allocations: 0.5034 MB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.1656, allocations: 7.938 kB / 0.6822 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.853e-05/0.1657, allocations: 12.61 kB / 0.6822 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.287e-05/0.1657, allocations: 8.594 kB / 0.6822 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.166, allocations: 44.66 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.966e-05/0.1661, allocations: 79.78 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.1662, allocations: 42.08 kB / 0.6824 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.252e-05/0.1663, allocations: 47.83 kB / 0.6825 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.594e-05/0.1664, allocations: 35.84 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.1664, allocations: 4 kB / 0.6825 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.013e-05/0.1665, allocations: 16 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.665e-05/0.1665, allocations: 23.92 kB / 0.6825 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.567e-05/0.1666, allocations: 39.73 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.1667, allocations: 87.62 kB / 0.6826 GB, free: 14.15 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1667, allocations: 8 kB / 0.6827 GB, free: 14.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1667, allocations: 0 / 0.6827 GB, free: 14.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.1668, allocations: 0 / 0.6827 GB, free: 14.14 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.0004781/0.1672, allocations: 395.1 kB / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.1673, allocations: 8.031 kB / 0.683 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.1673, allocations: 16.75 kB / 0.6831 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.1675, allocations: 197.9 kB / 0.6832 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1675, allocations: 4.375 kB / 0.6832 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.1675, allocations: 4.375 kB / 0.6833 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.1678, allocations: 113.9 kB / 0.6834 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1678, allocations: 0 / 0.6834 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1678, allocations: 4 kB / 0.6834 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1678, allocations: 4 kB / 0.6834 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.168, allocations: 103.9 kB / 0.6835 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005335/0.1686, allocations: 368.6 kB / 0.6838 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.1687, allocations: 66.48 kB / 0.6839 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.1689, allocations: 52.94 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.1689, allocations: 7.984 kB / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.1689, allocations: 30.56 kB / 0.684 GB, free: 12.63 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.113e-06/0.1689, allocations: 0 / 0.684 GB, free: 12.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004415/0.1694, allocations: 161.5 kB / 0.6841 GB, free: 12.47 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.1694, allocations: 59.34 kB / 0.6842 GB, free: 12.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.1695, allocations: 140.2 kB / 0.6843 GB, free: 12.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.1696, allocations: 25.7 kB / 0.6843 GB, free: 12.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.1696, allocations: 108.6 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.1696, allocations: 15.8 kB / 0.6845 GB, free: 12.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.1697, allocations: 17.72 kB / 0.6845 GB, free: 12.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1698, allocations: 322.8 kB / 0.6848 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.17, allocations: 39.97 kB / 0.6848 GB, free: 11.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.1701, allocations: 43.97 kB / 0.6849 GB, free: 11.67 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.1703, allocations: 88.8 kB / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1703, allocations: 3.938 kB / 0.685 GB, free: 11.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002842/0.1706, allocations: 125.5 kB / 0.6851 GB, free: 11.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1706, allocations: 11.92 kB / 0.6851 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1706, allocations: 4 kB / 0.6851 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1707, allocations: 0 / 0.6851 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.1708, allocations: 19.92 kB / 0.6851 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1708, allocations: 0 / 0.6851 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.039e-05/0.1709, allocations: 11.98 kB / 0.6851 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.1709, allocations: 4 kB / 0.6851 GB, free: 11.39 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.0001058/0.171, allocations: 119.2 kB / 0.6852 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.1711, allocations: 8.344 kB / 0.6852 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000366/0.1714, allocations: 158.2 kB / 0.6854 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1715, allocations: 7.938 kB / 0.6854 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1715, allocations: 0 / 0.6854 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.1715, allocations: 7.922 kB / 0.6854 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.1717, allocations: 197.6 kB / 0.6856 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1717, allocations: 8 kB / 0.6856 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.1718, allocations: 19.97 kB / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1718, allocations: 0 / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1718, allocations: 0 / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1718, allocations: 3.938 kB / 0.6856 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1719, allocations: 0 / 0.6856 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.1722, allocations: 227.4 kB / 0.6858 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.1722, allocations: 84.95 kB / 0.6859 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.1722, allocations: 4 kB / 0.6859 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.1723, allocations: 11.92 kB / 0.6859 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.1724, allocations: 8 kB / 0.6859 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.1724, allocations: 3.984 kB / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.42e-05/0.1725, allocations: 103.3 kB / 0.6861 GB, free: 10.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1725, allocations: 0 / 0.6861 GB, free: 10.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.1727, allocations: 12 kB / 0.6861 GB, free: 10.33 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.0001115/0.1728, allocations: 103.2 kB / 0.6862 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002775/0.1731, allocations: 103.9 kB / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1731, allocations: 3.938 kB / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.1732, allocations: 47.97 kB / 0.6863 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.1735, allocations: 8 kB / 0.6863 GB, free: 10.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003894/0.1739, allocations: 215.2 kB / 0.6865 GB, free: 9.828 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.1741, allocations: 0.7079 MB / 0.6872 GB, free: 9.094 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.439e-05/0.1742, allocations: 15.98 kB / 0.6872 GB, free: 9.078 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.1743, allocations: 11.44 kB / 0.6872 GB, free: 9.066 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1743, allocations: 0 / 0.6872 GB, free: 9.066 MB / 494.1 MB Notification: Performance of Templates: time 0.002694/0.177, allocations: 0.7295 MB / 0.688 GB, free: 8.344 MB / 494.1 MB 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)