Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.235/2.235, allocations: 251.3 MB / 266.2 MB, free: 11.5 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001797/0.001797, allocations: 185.3 kB / 325.8 MB, free: 2.754 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.37/2.37, allocations: 205.4 MB / 0.5767 GB, free: 20.71 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009378/0.0009373, allocations: 86.36 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007357/0.0007359, allocations: 13.94 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2196, allocations: 106.3 MB / 0.899 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.002123/0.2218, allocations: 1.404 MB / 0.9004 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002779/0.2246, allocations: 1.71 MB / 0.9021 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.18e-05/0.2247, allocations: 3.938 kB / 0.9021 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.2249, allocations: 23.86 kB / 0.9021 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.225, allocations: 15.86 kB / 0.9021 GB, free: 62.22 MB / 0.6042 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.0008838/0.2259, allocations: 247.5 kB / 0.9024 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.2262, allocations: 171.5 kB / 0.9025 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.2263, allocations: 25.53 kB / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.2264, allocations: 63.77 kB / 0.9026 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.2266, allocations: 63.69 kB / 0.9027 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.2266, allocations: 4 kB / 0.9027 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004636/0.2271, allocations: 239.6 kB / 0.9029 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.2272, allocations: 39.88 kB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.607e-05/0.2272, allocations: 49.64 kB / 0.903 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.2276, allocations: 247.5 kB / 0.9032 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2276, allocations: 3.938 kB / 0.9032 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2276, allocations: 4 kB / 0.9032 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.2277, allocations: 3.938 kB / 0.9032 GB, free: 61.07 MB / 0.6042 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.0008886/0.2286, allocations: 0.493 MB / 0.9037 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2286, allocations: 8.031 kB / 0.9037 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.733e-05/0.2287, allocations: 16.75 kB / 0.9037 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.2289, allocations: 212.2 kB / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.2289, allocations: 16.31 kB / 0.904 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.229, allocations: 20.12 kB / 0.904 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.2294, allocations: 143.2 kB / 0.9041 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2294, allocations: 0 / 0.9041 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.2294, allocations: 0 / 0.9041 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.2294, allocations: 7.984 kB / 0.9041 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.2298, allocations: 87.88 kB / 0.9042 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.2308, allocations: 408.5 kB / 0.9046 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/0.2312, allocations: 162.6 kB / 0.9047 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.2315, allocations: 64.83 kB / 0.9048 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.2315, allocations: 4 kB / 0.9048 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003785/0.2319, allocations: 167 kB / 0.905 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.954e-06/0.2319, allocations: 0 / 0.905 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0008855/0.2328, allocations: 291.7 kB / 0.9052 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.2329, allocations: 93.09 kB / 0.9053 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.233, allocations: 167.8 kB / 0.9055 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.2331, allocations: 37.69 kB / 0.9055 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.2331, allocations: 104.6 kB / 0.9056 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.851e-05/0.2332, allocations: 51.34 kB / 0.9057 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.44e-05/0.2332, allocations: 12.03 kB / 0.9057 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.631e-05/0.2333, allocations: 326.8 kB / 0.906 GB, free: 58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.2335, allocations: 67.95 kB / 0.9061 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.2338, allocations: 172.8 kB / 0.9062 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.2341, allocations: 95.92 kB / 0.9063 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2341, allocations: 0 / 0.9063 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006525/0.2348, allocations: 273.1 kB / 0.9066 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2348, allocations: 8 kB / 0.9066 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.2348, allocations: 4 kB / 0.9066 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.2349, allocations: 12.36 kB / 0.9066 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.2351, allocations: 35.92 kB / 0.9066 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.2351, allocations: 8.062 kB / 0.9067 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.2353, allocations: 27.83 kB / 0.9067 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.2354, allocations: 12 kB / 0.9067 GB, free: 57.25 MB / 0.6042 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.0001591/0.2355, allocations: 155.5 kB / 0.9068 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.2356, allocations: 15.81 kB / 0.9069 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.123e-05/0.2356, allocations: 25.8 kB / 0.9069 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2356, allocations: 0 / 0.9069 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.2357, allocations: 0 / 0.9069 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.2357, allocations: 7.938 kB / 0.9069 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.2368, allocations: 0.5606 MB / 0.9074 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2368, allocations: 0 / 0.9074 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.237, allocations: 23.86 kB / 0.9075 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.237, allocations: 7.938 kB / 0.9075 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.237, allocations: 8 kB / 0.9075 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.237, allocations: 0 / 0.9075 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.237, allocations: 0 / 0.9075 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008836/0.2379, allocations: 417.6 kB / 0.9079 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.238, allocations: 89.03 kB / 0.908 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.238, allocations: 15.92 kB / 0.908 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.2383, allocations: 24.05 kB / 0.908 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.2383, allocations: 7.984 kB / 0.908 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.2384, allocations: 11.98 kB / 0.908 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.956e-05/0.2385, allocations: 118.8 kB / 0.9081 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.363e-06/0.2385, allocations: 0 / 0.9081 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000546/0.239, allocations: 107.8 kB / 0.9082 GB, free: 55.57 MB / 0.6042 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.001028/0.2401, allocations: 429 kB / 0.9086 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005589/0.2406, allocations: 191.7 kB / 0.9088 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2407, allocations: 0 / 0.9088 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002498/0.2409, allocations: 79.89 kB / 0.9089 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.2413, allocations: 20.8 kB / 0.9089 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009014/0.2423, allocations: 413.5 kB / 0.9093 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.2425, allocations: 0.7205 MB / 0.91 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001631/0.2426, allocations: 49.5 kB / 0.9101 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.2427, allocations: 15.44 kB / 0.9101 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of SimCode: time 6.21e-07/0.2427, allocations: 3.938 kB / 0.9101 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.008635/0.2514, allocations: 3.125 MB / 0.9131 GB, free: 50.61 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.makefile (rm -f Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; mkfifo Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe >> ../files/Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.sim & ./Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe 2>&1)