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.0014/0.0014, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001534/0.001534, allocations: 192.5 kB / 16.25 MB, free: 6.625 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.491/1.491, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.776/1.776, allocations: 292.3 MB / 0.5485 GB, free: 13.61 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.001403/0.001403, allocations: 65.95 kB / 0.671 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2925, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.003585/0.2962, allocations: 1.774 MB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002677/0.2989, allocations: 1.776 MB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.649e-05/0.299, allocations: 4 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.2992, allocations: 19.86 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.2994, allocations: 31.72 kB / 0.7864 GB, free: 10.27 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.001199/0.3006, allocations: 275.4 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.3009, allocations: 183.6 kB / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.301, allocations: 37.75 kB / 0.7869 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.3011, allocations: 79.69 kB / 0.7869 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.3012, allocations: 75.67 kB / 0.787 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.3013, allocations: 11.94 kB / 0.787 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003866/0.3017, allocations: 255.6 kB / 0.7873 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.3018, allocations: 51.83 kB / 0.7873 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.469e-05/0.3019, allocations: 63.66 kB / 0.7874 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.3023, allocations: 359.2 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.3023, allocations: 0 / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3023, allocations: 3.938 kB / 0.7877 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.3023, allocations: 0 / 0.7877 GB, free: 8.902 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.0008315/0.3031, allocations: 0.5067 MB / 0.7882 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3032, allocations: 8.031 kB / 0.7882 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.482e-05/0.3033, allocations: 20.75 kB / 0.7882 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.3035, allocations: 223.5 kB / 0.7885 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.3035, allocations: 8.375 kB / 0.7885 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.3036, allocations: 20.12 kB / 0.7885 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.3039, allocations: 143.2 kB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.3039, allocations: 0 / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.3039, allocations: 8 kB / 0.7886 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3039, allocations: 0 / 0.7886 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.3041, allocations: 75.94 kB / 0.7887 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000793/0.3049, allocations: 412.5 kB / 0.7891 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.3052, allocations: 150.6 kB / 0.7892 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.3053, allocations: 64.83 kB / 0.7893 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.3054, allocations: 0 / 0.7893 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002693/0.3056, allocations: 167.4 kB / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.3057, allocations: 0 / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0006012/0.3063, allocations: 277.3 kB / 0.7897 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.3063, allocations: 89.03 kB / 0.7898 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.3065, allocations: 171.2 kB / 0.79 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.3065, allocations: 37.81 kB / 0.79 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.566e-05/0.3066, allocations: 112.5 kB / 0.7901 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.3066, allocations: 51.42 kB / 0.7902 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/0.3067, allocations: 57.64 kB / 0.7902 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.3068, allocations: 326.8 kB / 0.7905 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.307, allocations: 63.95 kB / 0.7906 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.3071, allocations: 168.8 kB / 0.7908 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.3075, allocations: 239.8 kB / 0.791 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3075, allocations: 0 / 0.791 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004026/0.3079, allocations: 273.2 kB / 0.7912 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3079, allocations: 6.344 kB / 0.7912 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.3079, allocations: 4 kB / 0.7912 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.308, allocations: 4 kB / 0.7913 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.3081, allocations: 39.92 kB / 0.7913 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.3081, allocations: 11.92 kB / 0.7913 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.3082, allocations: 23.78 kB / 0.7913 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.3083, allocations: 8 kB / 0.7913 GB, free: 4.867 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.000144/0.3084, allocations: 151.7 kB / 0.7915 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.3085, allocations: 19.84 kB / 0.7915 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.174e-05/0.3085, allocations: 21.86 kB / 0.7915 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3085, allocations: 4 kB / 0.7915 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3085, allocations: 0 / 0.7915 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.3085, allocations: 3.938 kB / 0.7915 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007385/0.3093, allocations: 0.5529 MB / 0.7921 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3093, allocations: 0 / 0.7921 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.546e-05/0.3094, allocations: 15.98 kB / 0.7921 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.3094, allocations: 3.938 kB / 0.7921 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.3094, allocations: 15.92 kB / 0.7921 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3094, allocations: 0 / 0.7921 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3094, allocations: 4 kB / 0.7921 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005852/0.31, allocations: 407.9 kB / 0.7925 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.3101, allocations: 100.9 kB / 0.7926 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.3101, allocations: 7.938 kB / 0.7926 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.3103, allocations: 15.98 kB / 0.7926 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.3103, allocations: 8.047 kB / 0.7926 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.3104, allocations: 15.98 kB / 0.7926 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.911e-05/0.3105, allocations: 116 kB / 0.7927 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3105, allocations: 4 kB / 0.7927 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004469/0.3109, allocations: 99.97 kB / 0.7928 GB, free: 3.215 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.0008264/0.3118, allocations: 438.2 kB / 0.7933 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003987/0.3122, allocations: 191.6 kB / 0.7934 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3122, allocations: 0 / 0.7934 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.3123, allocations: 80.7 kB / 0.7935 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.3127, allocations: 35.91 kB / 0.7936 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007379/0.3134, allocations: 412.9 kB / 0.7939 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.3137, allocations: 0.7163 MB / 0.7946 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001072/0.3138, allocations: 49.5 kB / 0.7947 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.3138, allocations: 19.44 kB / 0.7947 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.3138, allocations: 0 / 0.7947 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of Templates: time 0.006992/0.3208, allocations: 3.274 MB / 0.7979 GB, free: 14.09 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)