Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.56/2.56, allocations: 287.9 MB / 302.9 MB, free: 8.316 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001401/0.001401, allocations: 175 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.4 MB / 0.6301 GB, free: 10.37 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 92.88 kB / 0.7434 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004544/0.0004546, allocations: 9.625 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1549, allocations: 115.3 MB / 0.9788 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.001764/0.1567, allocations: 1.4 MB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002401/0.1591, allocations: 1.698 MB / 0.9818 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.674e-05/0.1592, allocations: 7.938 kB / 0.9818 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.1594, allocations: 15.86 kB / 0.9818 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.1595, allocations: 27.88 kB / 0.9818 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007978/0.1603, allocations: 250.6 kB / 0.9821 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.1605, allocations: 119.8 kB / 0.9822 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.526e-05/0.1607, allocations: 25.83 kB / 0.9822 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.1608, allocations: 71.69 kB / 0.9823 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.772e-05/0.1609, allocations: 55.77 kB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.161, allocations: 7.984 kB / 0.9823 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.1614, allocations: 195.6 kB / 0.9825 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.028e-05/0.1615, allocations: 43.88 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.478e-05/0.1615, allocations: 45.64 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.1619, allocations: 259.5 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.1619, allocations: 0 / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.956e-06/0.1619, allocations: 0 / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.712e-06/0.1619, allocations: 0 / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007086/0.1626, allocations: 498.7 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.1627, allocations: 8.031 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.1628, allocations: 19.77 kB / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.163, allocations: 219.7 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.163, allocations: 8 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.1631, allocations: 8 kB / 0.9836 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.1634, allocations: 148.8 kB / 0.9837 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1634, allocations: 0 / 0.9837 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.1634, allocations: 4 kB / 0.9837 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.006e-06/0.1635, allocations: 7.938 kB / 0.9837 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.1637, allocations: 79.94 kB / 0.9838 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008406/0.1646, allocations: 420.5 kB / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.1649, allocations: 150.6 kB / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.165, allocations: 8 kB / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003363/0.1653, allocations: 152.9 kB / 0.9845 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.836e-06/0.1654, allocations: 0 / 0.9845 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0007395/0.1661, allocations: 298.7 kB / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.1662, allocations: 89.06 kB / 0.9849 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.1663, allocations: 163.3 kB / 0.985 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.1663, allocations: 37.7 kB / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/0.1664, allocations: 116.7 kB / 0.9852 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/0.1665, allocations: 51.44 kB / 0.9852 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/0.1665, allocations: 0 / 0.9852 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.588e-05/0.1666, allocations: 338.8 kB / 0.9856 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.1668, allocations: 67.95 kB / 0.9856 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.167, allocations: 173.3 kB / 0.9858 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.1672, allocations: 91.98 kB / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.913e-06/0.1673, allocations: 8 kB / 0.9859 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005606/0.1678, allocations: 269.4 kB / 0.9861 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1679, allocations: 8 kB / 0.9862 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.998e-06/0.1679, allocations: 4 kB / 0.9862 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.1679, allocations: 8 kB / 0.9862 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.1681, allocations: 39.95 kB / 0.9862 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.1681, allocations: 11.89 kB / 0.9862 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.1683, allocations: 23.83 kB / 0.9862 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.1683, allocations: 20 kB / 0.9863 GB, free: 20.18 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition3,$PRE.kalFil.firstTrigger,kalFil.firstTrigger,$PRE.kalFil.yR[1],kalFil.yR[1],$PRE.kalFil.uRIntPre[1],kalFil.uRIntPre[1],$PRE.ran.firstTrigger,ran.firstTrigger,$PRE.ran.uRIntPre[1],ran.uRIntPre[1],$whenCondition1,ran.sampleTrigger,$PRE.ran.uRWri[1],ran.uRWri[1],$whenCondition2,kalFil.sampleTrigger,$PRE.ran.yR[1],ran.yR[1],$PRE.kalFil.uRWri[1],kalFil.uRWri[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.1685, allocations: 147.5 kB / 0.9864 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.1686, allocations: 19.8 kB / 0.9864 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.087e-05/0.1686, allocations: 17.88 kB / 0.9864 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.651e-06/0.1686, allocations: 4 kB / 0.9864 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.419e-06/0.1686, allocations: 0 / 0.9864 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.1687, allocations: 7.938 kB / 0.9864 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009614/0.1696, allocations: 0.5583 MB / 0.987 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.513e-06/0.1697, allocations: 3.984 kB / 0.987 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.1698, allocations: 12 kB / 0.987 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.614e-06/0.1698, allocations: 0 / 0.987 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.1698, allocations: 7.984 kB / 0.987 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.254e-06/0.1699, allocations: 3.953 kB / 0.987 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.997e-06/0.1699, allocations: 8 kB / 0.987 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007442/0.1706, allocations: 435.2 kB / 0.9874 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.1707, allocations: 92.91 kB / 0.9875 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.1707, allocations: 15.92 kB / 0.9875 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.1709, allocations: 15.98 kB / 0.9876 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.171, allocations: 11.98 kB / 0.9876 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.171, allocations: 4 kB / 0.9876 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.632e-05/0.1711, allocations: 124 kB / 0.9877 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.79e-07/0.1712, allocations: 0 / 0.9877 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000581/0.1717, allocations: 111.8 kB / 0.9878 GB, free: 18.49 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (ran.uRInt[1],kalFil.uRInt[1]) * Number of discrete variables: 13 (kalFil.sampleTrigger,ran.sampleTrigger,$whenCondition2,$whenCondition1,ran.firstTrigger,ran.yR[1],ran.uRIntPre[1],ran.uRWri[1],kalFil.firstTrigger,kalFil.yR[1],kalFil.uRIntPre[1],kalFil.uRWri[1],$whenCondition3) * Number of discrete states: 2 (kalFil.uR[1],ran.uR[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001056/0.1728, allocations: 421.3 kB / 0.9882 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005127/0.1733, allocations: 187.6 kB / 0.9884 GB, free: 18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.679e-06/0.1734, allocations: 0.75 kB / 0.9884 GB, free: 18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.1736, allocations: 87.95 kB / 0.9885 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.1739, allocations: 26.5 kB / 0.9885 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007739/0.1747, allocations: 383.4 kB / 0.9889 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.1749, allocations: 0.7438 MB / 0.9896 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.175, allocations: 41.5 kB / 0.9896 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.1751, allocations: 19.44 kB / 0.9896 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of SimCode: time 1.64e-06/0.1751, allocations: 0 / 0.9896 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of Templates: time 0.008003/0.1831, allocations: 3.12 MB / 0.9927 GB, free: 13.54 MB / 0.6198 GB