Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter") translateModel(Buildings.Utilities.IO.Python36.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.58/1.58, allocations: 288.4 MB / 304.3 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009896/0.0009898, allocations: 174.8 kB / 372.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.4 MB / 0.6316 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006918/0.0006918, allocations: 94.3 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003886, allocations: 19.2 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1729, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.KalmanFilter): time 0.001696/0.1746, allocations: 1.412 MB / 0.9821 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.1765, allocations: 1.745 MB / 0.9838 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.854e-05/0.1767, allocations: 0 / 0.9838 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.1768, allocations: 23.8 kB / 0.9838 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.1769, allocations: 31.78 kB / 0.9839 GB, free: 24.11 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Utilities/IO/Python36/Functions/exchange.mo:2:1-113:13:writable] Warning: Pure function ‘Buildings.Utilities.IO.Python36.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0008961/0.1779, allocations: 251.5 kB / 0.9841 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.1781, allocations: 191.5 kB / 0.9843 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.375e-05/0.1782, allocations: 29.55 kB / 0.9843 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.1783, allocations: 67.7 kB / 0.9844 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.579e-05/0.1784, allocations: 67.67 kB / 0.9845 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.1785, allocations: 8 kB / 0.9845 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003376/0.1788, allocations: 231.6 kB / 0.9847 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.779e-05/0.1789, allocations: 47.88 kB / 0.9847 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.511e-05/0.179, allocations: 89.34 kB / 0.9848 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.1792, allocations: 259.8 kB / 0.9851 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1793, allocations: 4 kB / 0.9851 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1793, allocations: 0 / 0.9851 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.1793, allocations: 0 / 0.9851 GB, free: 22.89 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.0006203/0.1799, allocations: 0.5028 MB / 0.9856 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.1799, allocations: 8.031 kB / 0.9856 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.18, allocations: 16.75 kB / 0.9856 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.1801, allocations: 226.5 kB / 0.9858 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.1802, allocations: 16.31 kB / 0.9858 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.1802, allocations: 15.98 kB / 0.9858 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.1805, allocations: 149.8 kB / 0.986 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.1805, allocations: 4 kB / 0.986 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.1805, allocations: 7.984 kB / 0.986 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1805, allocations: 7.922 kB / 0.986 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.1807, allocations: 87.88 kB / 0.9861 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006721/0.1814, allocations: 428.7 kB / 0.9865 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.1816, allocations: 162.4 kB / 0.9866 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.1818, allocations: 78.38 kB / 0.9867 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.1818, allocations: 0 / 0.9867 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002545/0.1821, allocations: 172 kB / 0.9869 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/0.1821, allocations: 4 kB / 0.9869 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0006038/0.1827, allocations: 321.5 kB / 0.9872 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.1827, allocations: 89.09 kB / 0.9873 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.1829, allocations: 170.9 kB / 0.9874 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.1829, allocations: 45.69 kB / 0.9875 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.1829, allocations: 108.5 kB / 0.9876 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.183, allocations: 55.34 kB / 0.9876 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.906e-06/0.183, allocations: 8 kB / 0.9876 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.469e-05/0.183, allocations: 334.8 kB / 0.988 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.1832, allocations: 76.52 kB / 0.988 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.1833, allocations: 189.8 kB / 0.9882 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.1836, allocations: 271.8 kB / 0.9885 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1836, allocations: 0 / 0.9885 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003848/0.184, allocations: 309.4 kB / 0.9888 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.184, allocations: 4 kB / 0.9888 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1841, allocations: 4 kB / 0.9888 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1841, allocations: 4 kB / 0.9888 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.1842, allocations: 43.91 kB / 0.9888 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.1842, allocations: 4 kB / 0.9888 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.895e-05/0.1843, allocations: 23.94 kB / 0.9888 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.1844, allocations: 27.84 kB / 0.9889 GB, free: 18.67 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.0001036/0.1845, allocations: 159.9 kB / 0.989 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.1845, allocations: 19.81 kB / 0.989 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.1846, allocations: 21.92 kB / 0.9891 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1846, allocations: 4 kB / 0.9891 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1846, allocations: 0 / 0.9891 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.1846, allocations: 88.92 kB / 0.9892 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.1846, allocations: 15.92 kB / 0.9892 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-05/0.1847, allocations: 23.98 kB / 0.9892 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.1848, allocations: 15.97 kB / 0.9892 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004272/0.1852, allocations: 413.4 kB / 0.9896 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005386/0.1858, allocations: 0.6016 MB / 0.9902 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001351/0.1859, allocations: 87.91 kB / 0.9903 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.538e-05/0.186, allocations: 119.2 kB / 0.9904 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of Backend: time 4.11e-07/0.186, allocations: 0 / 0.9904 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.1871, allocations: 0.5245 MB / 0.9909 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004835/0.1876, allocations: 0.7964 MB / 0.9917 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of Templates: time 0.00533/0.193, allocations: 3.444 MB / 0.995 GB, free: 12.38 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe 2>&1)