Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.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.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.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.589/1.589, allocations: 288.4 MB / 304.3 MB, free: 8.129 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.001064/0.001064, allocations: 185.1 kB / 372.9 MB, free: 10.19 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.389/1.389, allocations: 205.4 MB / 0.6316 GB, free: 9.848 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.0007077/0.0007078, allocations: 96.17 kB / 0.745 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003463, allocations: 11.16 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1954, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.001856/0.1973, allocations: 1.404 MB / 0.9821 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002188/0.1996, allocations: 1.718 MB / 0.9838 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.1997, allocations: 4 kB / 0.9838 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.1999, allocations: 15.8 kB / 0.9838 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.2, allocations: 27.78 kB / 0.9838 GB, free: 24.16 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Obsolete/Utilities/IO/Python27/Functions/exchange.mo:2:1-109:13:writable] Warning: Pure function ‘Buildings.Obsolete.Utilities.IO.Python27.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0009547/0.201, allocations: 247.5 kB / 0.9841 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.2012, allocations: 171.5 kB / 0.9842 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.969e-05/0.2013, allocations: 29.77 kB / 0.9843 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.2015, allocations: 67.75 kB / 0.9843 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.083e-05/0.2016, allocations: 59.69 kB / 0.9844 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.2016, allocations: 8 kB / 0.9844 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003646/0.202, allocations: 227.6 kB / 0.9846 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.816e-05/0.2021, allocations: 47.86 kB / 0.9847 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.04e-05/0.2021, allocations: 73.44 kB / 0.9847 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.2024, allocations: 259.5 kB / 0.985 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2024, allocations: 0 / 0.985 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2024, allocations: 0 / 0.985 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.2025, allocations: 0 / 0.985 GB, free: 22.99 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.0006513/0.2031, allocations: 0.491 MB / 0.9855 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2032, allocations: 8.031 kB / 0.9855 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.389e-05/0.2032, allocations: 16.75 kB / 0.9855 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.2034, allocations: 220 kB / 0.9857 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.2034, allocations: 8.375 kB / 0.9857 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.2035, allocations: 12.12 kB / 0.9857 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.2037, allocations: 151.2 kB / 0.9859 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.2037, allocations: 0 / 0.9859 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.2037, allocations: 11.98 kB / 0.9859 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2038, allocations: 0 / 0.9859 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.2039, allocations: 79.95 kB / 0.9859 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007099/0.2047, allocations: 404.6 kB / 0.9863 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.2049, allocations: 158.6 kB / 0.9865 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.205, allocations: 68.81 kB / 0.9865 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.2051, allocations: 7.984 kB / 0.9866 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/0.2053, allocations: 154.5 kB / 0.9867 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.2053, allocations: 0 / 0.9867 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005195/0.2058, allocations: 302.9 kB / 0.987 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.2059, allocations: 81.11 kB / 0.9871 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.206, allocations: 169.2 kB / 0.9872 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.206, allocations: 37.64 kB / 0.9873 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.693e-05/0.2061, allocations: 112.4 kB / 0.9874 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.2061, allocations: 51.45 kB / 0.9874 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.2061, allocations: 8.031 kB / 0.9874 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.174e-05/0.2062, allocations: 330.8 kB / 0.9877 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.2063, allocations: 71.95 kB / 0.9878 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.2065, allocations: 169.2 kB / 0.988 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.2067, allocations: 247.8 kB / 0.9882 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2067, allocations: 4 kB / 0.9882 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003544/0.2071, allocations: 273 kB / 0.9885 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2071, allocations: 8 kB / 0.9885 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2071, allocations: 48 / 0.9885 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2072, allocations: 11.98 kB / 0.9885 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.2073, allocations: 48.28 kB / 0.9885 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2073, allocations: 4 kB / 0.9885 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.604e-05/0.2074, allocations: 23.78 kB / 0.9886 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.2074, allocations: 12 kB / 0.9886 GB, free: 18.98 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.0001072/0.2075, allocations: 143.5 kB / 0.9887 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.2076, allocations: 19.8 kB / 0.9887 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/0.2076, allocations: 29.81 kB / 0.9888 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2076, allocations: 0 / 0.9888 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2076, allocations: 7.984 kB / 0.9888 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/0.2077, allocations: 92.89 kB / 0.9889 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.2077, allocations: 11.98 kB / 0.9889 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.573e-05/0.2078, allocations: 12 kB / 0.9889 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.2079, allocations: 15.97 kB / 0.9889 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004106/0.2083, allocations: 401.7 kB / 0.9893 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005277/0.2088, allocations: 0.568 MB / 0.9898 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001343/0.209, allocations: 88.88 kB / 0.9899 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.598e-05/0.209, allocations: 125.6 kB / 0.99 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of Backend: time 3.6e-07/0.209, allocations: 0 / 0.99 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001199/0.2102, allocations: 0.5121 MB / 0.9905 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004922/0.2107, allocations: 0.774 MB / 0.9913 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of Templates: time 0.005434/0.2162, allocations: 3.336 MB / 0.9945 GB, free: 12.89 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe 2>&1)