Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.IO.Python36.Examples.KalmanFilter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.663/2.663, allocations: 287.9 MB / 302.9 MB, free: 8.414 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.00143/0.00143, allocations: 181 kB / 371.4 MB, free: 10.64 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 2.095/2.095, allocations: 205.4 MB / 0.6301 GB, free: 10.35 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.001019/0.001019, allocations: 89.41 kB / 0.7434 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004645/0.0004647, allocations: 9.625 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1559, allocations: 115.3 MB / 0.9788 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.KalmanFilter): time 0.001753/0.1577, allocations: 1.42 MB / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002439/0.1602, allocations: 1.722 MB / 0.9818 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.681e-05/0.1603, allocations: 0 / 0.9818 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.1605, allocations: 27.78 kB / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.1606, allocations: 31.89 kB / 0.9819 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008526/0.1615, allocations: 251.4 kB / 0.9821 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.1617, allocations: 143.6 kB / 0.9823 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.524e-05/0.1618, allocations: 25.55 kB / 0.9823 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.162, allocations: 71.75 kB / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1621, allocations: 63.67 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.1621, allocations: 8 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004162/0.1625, allocations: 195.7 kB / 0.9826 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.891e-05/0.1626, allocations: 51.8 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.1627, allocations: 49.64 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.1631, allocations: 259.8 kB / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.972e-06/0.1631, allocations: 4 kB / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.898e-06/0.1631, allocations: 0 / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.629e-06/0.1631, allocations: 4 kB / 0.983 GB, free: 23.82 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007297/0.1639, allocations: 0.4958 MB / 0.9834 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1639, allocations: 12.02 kB / 0.9834 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.561e-05/0.164, allocations: 23.77 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.1642, allocations: 231.4 kB / 0.9837 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.1642, allocations: 8.188 kB / 0.9837 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.1643, allocations: 12 kB / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003325/0.1646, allocations: 153 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1646, allocations: 3.984 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.1647, allocations: 8 kB / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1647, allocations: 0 / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.165, allocations: 88.45 kB / 0.984 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000898/0.1659, allocations: 436.9 kB / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.1662, allocations: 154.5 kB / 0.9845 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.1663, allocations: 0 / 0.9845 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000359/0.1666, allocations: 178.5 kB / 0.9847 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.596e-06/0.1667, allocations: 0 / 0.9847 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0007989/0.1675, allocations: 322.5 kB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.1675, allocations: 96.98 kB / 0.9851 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.1677, allocations: 170.8 kB / 0.9852 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.1678, allocations: 41.69 kB / 0.9853 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.1678, allocations: 108.5 kB / 0.9854 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.881e-05/0.1679, allocations: 55.33 kB / 0.9854 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/0.1679, allocations: 12.03 kB / 0.9855 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.697e-05/0.168, allocations: 334.8 kB / 0.9858 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.1682, allocations: 80.5 kB / 0.9859 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.1685, allocations: 181.9 kB / 0.986 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.1687, allocations: 103.9 kB / 0.9861 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1687, allocations: 4 kB / 0.9861 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006133/0.1694, allocations: 301.1 kB / 0.9864 GB, free: 20 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1694, allocations: 8 kB / 0.9864 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.071e-06/0.1694, allocations: 384 / 0.9864 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.1694, allocations: 15.94 kB / 0.9864 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.1696, allocations: 39.92 kB / 0.9865 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.1697, allocations: 11.98 kB / 0.9865 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.1698, allocations: 31.8 kB / 0.9865 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.1699, allocations: 12 kB / 0.9865 GB, free: 19.88 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: 25 ($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],$PRE.ran.uRWri_temp[1],ran.uRWri_temp[1],$whenCondition2,kalFil.sampleTrigger,$PRE.ran.yR[1],ran.yR[1],$PRE.kalFil.uRWri[1],kalFil.uRWri[1],$PRE.kalFil.uRWri_temp[1],kalFil.uRWri_temp[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001738/0.1701, allocations: 163.9 kB / 0.9867 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.1701, allocations: 19.8 kB / 0.9867 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.248e-05/0.1702, allocations: 17.88 kB / 0.9867 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.445e-06/0.1702, allocations: 4 kB / 0.9867 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.92e-06/0.1702, allocations: 0 / 0.9867 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.014e-06/0.1702, allocations: 3.984 kB / 0.9867 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.1712, allocations: 0.5866 MB / 0.9873 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1713, allocations: 4 kB / 0.9873 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.1714, allocations: 19.92 kB / 0.9873 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.393e-06/0.1714, allocations: 0 / 0.9873 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.1715, allocations: 8 kB / 0.9873 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.695e-06/0.1715, allocations: 4.078 kB / 0.9873 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.119e-06/0.1715, allocations: 7.938 kB / 0.9873 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008019/0.1723, allocations: 453.7 kB / 0.9878 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.1724, allocations: 100.9 kB / 0.9879 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.1724, allocations: 8 kB / 0.9879 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.1726, allocations: 23.97 kB / 0.9879 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.1727, allocations: 15.91 kB / 0.9879 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.1727, allocations: 8 kB / 0.9879 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.219e-05/0.1728, allocations: 123.2 kB / 0.988 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.76e-06/0.1728, allocations: 0 / 0.988 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005867/0.1734, allocations: 119.9 kB / 0.9882 GB, free: 18.11 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: 15 (kalFil.sampleTrigger,ran.sampleTrigger,$whenCondition2,$whenCondition1,ran.firstTrigger,ran.yR[1],ran.uRIntPre[1],ran.uRWri[1],ran.uRWri_temp[1],kalFil.firstTrigger,kalFil.yR[1],kalFil.uRIntPre[1],kalFil.uRWri[1],kalFil.uRWri_temp[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 (20): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001053/0.1745, allocations: 417.6 kB / 0.9886 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005348/0.1751, allocations: 199.7 kB / 0.9887 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.511e-06/0.1751, allocations: 4 kB / 0.9888 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.1753, allocations: 88.89 kB / 0.9888 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.1756, allocations: 35.86 kB / 0.9889 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008092/0.1765, allocations: 407.1 kB / 0.9893 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.1766, allocations: 0.732 MB / 0.99 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001385/0.1768, allocations: 53.44 kB / 0.99 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/0.1769, allocations: 19.44 kB / 0.99 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of SimCode: time 2.121e-06/0.1769, allocations: 0 / 0.99 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.008521/0.1854, allocations: 3.223 MB / 0.9932 GB, free: 13.01 MB / 0.6198 GB