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.001253/0.001253, 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.001225/0.001225, allocations: 191.9 kB / 16.14 MB, free: 6.715 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.34/1.34, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002011, allocations: 282 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.944/0.944, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 88.95 kB / 0.5945 GB, free: 28.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1685, allocations: 86.98 MB / 0.6794 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002834/0.1714, allocations: 1.652 MB / 0.681 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008005/0.1722, allocations: 0.5098 MB / 0.6815 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.796e-05/0.1722, allocations: 0.8438 kB / 0.6815 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.1724, allocations: 7.922 kB / 0.6815 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.359e-05/0.1724, allocations: 13.69 kB / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.1726, allocations: 31.95 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.75e-05/0.1727, allocations: 71.78 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.1728, allocations: 52.33 kB / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.522e-05/0.1729, allocations: 33.92 kB / 0.6817 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.128e-05/0.173, allocations: 39.84 kB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.173, allocations: 4 kB / 0.6818 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.438e-05/0.1731, allocations: 8 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.1731, allocations: 23.91 kB / 0.6818 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.1732, allocations: 36.36 kB / 0.6818 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.1733, allocations: 95.58 kB / 0.6819 GB, free: 14.6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1733, allocations: 1.719 kB / 0.6819 GB, free: 14.6 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1733, allocations: 0 / 0.6819 GB, free: 14.6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.1733, allocations: 0 / 0.6819 GB, free: 14.6 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.0004952/0.1738, allocations: 400 kB / 0.6823 GB, free: 14.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.1738, allocations: 8.031 kB / 0.6823 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.1739, allocations: 13.47 kB / 0.6823 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.1741, allocations: 192.2 kB / 0.6825 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-06/0.1741, allocations: 1 kB / 0.6825 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1741, allocations: 13.69 kB / 0.6825 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.1744, allocations: 115.7 kB / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1744, allocations: 4.688 kB / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1744, allocations: 4 kB / 0.6827 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1744, allocations: 8 kB / 0.6827 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.1747, allocations: 87.94 kB / 0.6828 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005831/0.1752, allocations: 388.5 kB / 0.6831 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.1754, allocations: 54.55 kB / 0.6832 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.1755, allocations: 52.95 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.1756, allocations: 0 / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.1756, allocations: 30.56 kB / 0.6833 GB, free: 13.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.1756, allocations: 4 kB / 0.6833 GB, free: 13.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004275/0.176, allocations: 173.4 kB / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.1761, allocations: 51.41 kB / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.505e-05/0.1762, allocations: 139.7 kB / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.1762, allocations: 25.7 kB / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.1763, allocations: 108.1 kB / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.1763, allocations: 15.81 kB / 0.6837 GB, free: 12.56 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.1764, allocations: 29.64 kB / 0.6838 GB, free: 12.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.1765, allocations: 314.8 kB / 0.6841 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.1766, allocations: 35.97 kB / 0.6841 GB, free: 12.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.79e-05/0.1767, allocations: 39.97 kB / 0.6841 GB, free: 12.13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.1769, allocations: 96.8 kB / 0.6842 GB, free: 12.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1769, allocations: 0 / 0.6842 GB, free: 12.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002605/0.1772, allocations: 129.5 kB / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1772, allocations: 4 kB / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.1772, allocations: 0 / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1772, allocations: 0 / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.1774, allocations: 23.92 kB / 0.6844 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.1774, allocations: 0 / 0.6844 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.948e-05/0.1774, allocations: 11.98 kB / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.1775, allocations: 4.438 kB / 0.6844 GB, free: 11.86 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 8.364e-05/0.1776, allocations: 119.1 kB / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.1776, allocations: 7.906 kB / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003307/0.1779, allocations: 162.1 kB / 0.6847 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1779, allocations: 3.938 kB / 0.6847 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.178, allocations: 4 kB / 0.6847 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.178, allocations: 3.938 kB / 0.6847 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.1782, allocations: 201.6 kB / 0.6849 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1782, allocations: 3.984 kB / 0.6849 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.1783, allocations: 15.98 kB / 0.6849 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1783, allocations: 4 kB / 0.6849 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1783, allocations: 0 / 0.6849 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1783, allocations: 3.938 kB / 0.6849 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1783, allocations: 0 / 0.6849 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.1786, allocations: 227.3 kB / 0.6851 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.1787, allocations: 85.02 kB / 0.6852 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.1787, allocations: 0 / 0.6852 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1788, allocations: 15.92 kB / 0.6852 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.1789, allocations: 7.984 kB / 0.6852 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.1789, allocations: 4 kB / 0.6852 GB, free: 10.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.592e-05/0.1789, allocations: 105.9 kB / 0.6853 GB, free: 10.81 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1789, allocations: 0 / 0.6853 GB, free: 10.81 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.1792, allocations: 16 kB / 0.6854 GB, free: 10.79 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.0001117/0.1793, allocations: 99.23 kB / 0.6854 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.1796, allocations: 99.88 kB / 0.6855 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1796, allocations: 0 / 0.6855 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.1797, allocations: 55.97 kB / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.1799, allocations: 4 kB / 0.6856 GB, free: 10.53 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004294/0.1804, allocations: 244.8 kB / 0.6858 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.1806, allocations: 0.7043 MB / 0.6865 GB, free: 9.539 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.1807, allocations: 15.89 kB / 0.6865 GB, free: 9.523 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.1808, allocations: 19.42 kB / 0.6866 GB, free: 9.504 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1808, allocations: 3.938 kB / 0.6866 GB, free: 9.5 MB / 494.1 MB Notification: Performance of Templates: time 0.002497/0.1833, allocations: 0.6216 MB / 0.6872 GB, free: 8.879 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)