Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 111.3 kB / 15.23 MB, free: 0.6562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 194.4 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.796/1.796, allocations: 292.2 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 73.78 kB / 0.6708 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2935, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.003327/0.2969, allocations: 1.774 MB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003065/0.3, allocations: 1.799 MB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.978e-05/0.3001, allocations: 7.938 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.3003, allocations: 23.84 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.3005, allocations: 19.8 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.001307/0.3018, allocations: 268.8 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.3021, allocations: 179.5 kB / 0.7866 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.3022, allocations: 33.77 kB / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.3024, allocations: 71.69 kB / 0.7867 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.3025, allocations: 71.67 kB / 0.7868 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.3026, allocations: 4 kB / 0.7868 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004357/0.303, allocations: 255.6 kB / 0.7871 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.3031, allocations: 47.88 kB / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.539e-05/0.3032, allocations: 67.59 kB / 0.7872 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004378/0.3037, allocations: 343.2 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3037, allocations: 0 / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.62e-07/0.3037, allocations: 3.938 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3037, allocations: 0 / 0.7875 GB, free: 9.027 MB / 0.6075 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.0009171/0.3046, allocations: 0.5105 MB / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.3047, allocations: 19.97 kB / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.748e-05/0.3048, allocations: 20.73 kB / 0.788 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.305, allocations: 222.9 kB / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.3051, allocations: 4.375 kB / 0.7883 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.3051, allocations: 16.12 kB / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/0.3054, allocations: 143.2 kB / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3054, allocations: 0 / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.3055, allocations: 4 kB / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3055, allocations: 8 kB / 0.7884 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.3057, allocations: 74.69 kB / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008526/0.3065, allocations: 404.6 kB / 0.7889 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.3069, allocations: 158.5 kB / 0.789 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.307, allocations: 60.83 kB / 0.7891 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.3071, allocations: 0 / 0.7891 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003215/0.3074, allocations: 160.9 kB / 0.7892 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.132e-06/0.3074, allocations: 0 / 0.7892 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0006731/0.3081, allocations: 285.2 kB / 0.7895 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/0.3082, allocations: 81.11 kB / 0.7896 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.3083, allocations: 176.4 kB / 0.7898 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.3084, allocations: 41.64 kB / 0.7898 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.151e-05/0.3085, allocations: 112.6 kB / 0.7899 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.319e-05/0.3085, allocations: 47.44 kB / 0.7899 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.723e-05/0.3086, allocations: 49.7 kB / 0.79 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3088, allocations: 330.8 kB / 0.7903 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.3089, allocations: 63.95 kB / 0.7904 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.3092, allocations: 169.3 kB / 0.7905 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.3095, allocations: 243.8 kB / 0.7908 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3095, allocations: 0 / 0.7908 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004136/0.3099, allocations: 269.3 kB / 0.791 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.31, allocations: 8 kB / 0.791 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.31, allocations: 0 / 0.791 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.31, allocations: 8 kB / 0.791 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.3101, allocations: 39.91 kB / 0.7911 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.3102, allocations: 4 kB / 0.7911 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.3103, allocations: 23.78 kB / 0.7911 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.3103, allocations: 12 kB / 0.7911 GB, free: 4.992 MB / 0.6075 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,kalFil.firstTrigger,$PRE.kalFil.firstTrigger,kalFil.yR[1],$PRE.kalFil.yR[1],kalFil.uRIntPre[1],$PRE.kalFil.uRIntPre[1],ran.firstTrigger,$PRE.ran.firstTrigger,ran.uRIntPre[1],$PRE.ran.uRIntPre[1],ran.sampleTrigger,$whenCondition1,ran.uRWri[1],$PRE.ran.uRWri[1],kalFil.sampleTrigger,$whenCondition2,kalFil.uRWri[1],$PRE.kalFil.uRWri[1],ran.yR[1],$PRE.ran.yR[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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.3104, allocations: 147.6 kB / 0.7913 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.3105, allocations: 27.72 kB / 0.7913 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.3105, allocations: 17.88 kB / 0.7913 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3106, allocations: 4 kB / 0.7913 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3106, allocations: 0 / 0.7913 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3106, allocations: 7.922 kB / 0.7913 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007755/0.3114, allocations: 0.5594 MB / 0.7919 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3114, allocations: 0 / 0.7919 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.701e-05/0.3115, allocations: 15.94 kB / 0.7919 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.3115, allocations: 3.938 kB / 0.7919 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.3115, allocations: 15.92 kB / 0.7919 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3115, allocations: 0 / 0.7919 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.3115, allocations: 4 kB / 0.7919 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006273/0.3122, allocations: 404 kB / 0.7923 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.3122, allocations: 92.89 kB / 0.7924 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.3123, allocations: 11.94 kB / 0.7924 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.3124, allocations: 15.92 kB / 0.7924 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.3125, allocations: 15.97 kB / 0.7924 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.3125, allocations: 12.06 kB / 0.7924 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.061e-05/0.3126, allocations: 120 kB / 0.7925 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3126, allocations: 0 / 0.7925 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004759/0.3131, allocations: 99.97 kB / 0.7926 GB, free: 3.336 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009538/0.314, allocations: 425.4 kB / 0.793 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004098/0.3145, allocations: 183.6 kB / 0.7932 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3145, allocations: 0 / 0.7932 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.3146, allocations: 71.91 kB / 0.7933 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.315, allocations: 28.78 kB / 0.7933 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008091/0.3158, allocations: 419.5 kB / 0.7937 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.3161, allocations: 0.7205 MB / 0.7944 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001151/0.3162, allocations: 53.44 kB / 0.7945 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.3163, allocations: 15.44 kB / 0.7945 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.3163, allocations: 0 / 0.7945 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.006627/0.3229, allocations: 3.208 MB / 0.7976 GB, free: 14.3 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.makefile (rm -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe >> ../files/Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.sim & ./Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe 2>&1)