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.0009784/0.0009784, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001073/0.001073, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.4 MB / 222.1 MB, free: 5.543 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.739/1.739, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005852/0.0005853, allocations: 19.44 kB / 0.6736 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3171, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.00205/0.3192, allocations: 1.4 MB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00253/0.3218, allocations: 1.698 MB / 0.7901 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.275e-05/0.3219, allocations: 3.938 kB / 0.7901 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.3221, allocations: 27.78 kB / 0.7902 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.3223, allocations: 23.89 kB / 0.7902 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007771/0.323, allocations: 243.4 kB / 0.7904 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000213/0.3233, allocations: 127.7 kB / 0.7906 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3234, allocations: 21.83 kB / 0.7906 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.3235, allocations: 71.69 kB / 0.7906 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.3236, allocations: 55.75 kB / 0.7907 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.3237, allocations: 4 kB / 0.7907 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003893/0.3241, allocations: 195.7 kB / 0.7909 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.174e-05/0.3242, allocations: 47.8 kB / 0.7909 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.586e-05/0.3242, allocations: 49.64 kB / 0.791 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.3246, allocations: 263.5 kB / 0.7912 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3246, allocations: 0 / 0.7912 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3246, allocations: 0 / 0.7912 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.3246, allocations: 0 / 0.7912 GB, free: 7.738 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.0008588/0.3255, allocations: 494.7 kB / 0.7917 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.3255, allocations: 12.03 kB / 0.7917 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.537e-05/0.3256, allocations: 23.75 kB / 0.7917 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.3258, allocations: 206.2 kB / 0.7919 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.3259, allocations: 16 kB / 0.7919 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.3259, allocations: 15.94 kB / 0.792 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.3262, allocations: 143.3 kB / 0.7921 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3262, allocations: 0 / 0.7921 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.3263, allocations: 4 kB / 0.7921 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.3263, allocations: 0 / 0.7921 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.3265, allocations: 79.94 kB / 0.7922 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009291/0.3274, allocations: 420.6 kB / 0.7926 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.3277, allocations: 154.6 kB / 0.7927 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.3278, allocations: 4 kB / 0.7927 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00033/0.3281, allocations: 156.9 kB / 0.7929 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.3281, allocations: 0 / 0.7929 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0006394/0.3288, allocations: 295.9 kB / 0.7932 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.3289, allocations: 93.09 kB / 0.7933 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.329, allocations: 163.3 kB / 0.7934 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.3291, allocations: 37.83 kB / 0.7934 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.549e-05/0.3292, allocations: 116.7 kB / 0.7936 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/0.3292, allocations: 47.44 kB / 0.7936 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/0.3292, allocations: 11.94 kB / 0.7936 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3294, allocations: 330.8 kB / 0.7939 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.3296, allocations: 71.89 kB / 0.794 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.3298, allocations: 164.8 kB / 0.7942 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.33, allocations: 99.92 kB / 0.7942 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.33, allocations: 0 / 0.7942 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004499/0.3305, allocations: 273.4 kB / 0.7945 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3305, allocations: 8 kB / 0.7945 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3305, allocations: 4 kB / 0.7945 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.3305, allocations: 4 kB / 0.7945 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.3307, allocations: 39.91 kB / 0.7946 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.3307, allocations: 4 kB / 0.7946 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.3308, allocations: 27.84 kB / 0.7946 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.3309, allocations: 15.98 kB / 0.7946 GB, free: 3.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,$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.0001731/0.331, allocations: 151.5 kB / 0.7948 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.3311, allocations: 19.75 kB / 0.7948 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.473e-05/0.3311, allocations: 17.88 kB / 0.7948 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.3312, allocations: 4 kB / 0.7948 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3312, allocations: 0 / 0.7948 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3312, allocations: 3.984 kB / 0.7948 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008823/0.3321, allocations: 0.5607 MB / 0.7953 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3321, allocations: 0 / 0.7953 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.951e-05/0.3322, allocations: 19.92 kB / 0.7954 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.3322, allocations: 0 / 0.7954 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.3322, allocations: 8 kB / 0.7954 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.3322, allocations: 8 kB / 0.7954 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.3323, allocations: 3.953 kB / 0.7954 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007881/0.333, allocations: 431.2 kB / 0.7958 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.3331, allocations: 92.95 kB / 0.7959 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.3332, allocations: 11.94 kB / 0.7959 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.3333, allocations: 19.92 kB / 0.7959 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.3334, allocations: 15.98 kB / 0.7959 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.3334, allocations: 8 kB / 0.7959 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001423/0.3336, allocations: 124 kB / 0.7961 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3336, allocations: 0 / 0.7961 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005308/0.3341, allocations: 107.9 kB / 0.7962 GB, free: 2.301 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 (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.001063/0.3352, allocations: 418 kB / 0.7966 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004441/0.3357, allocations: 194.3 kB / 0.7967 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3357, allocations: 0 / 0.7967 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.3359, allocations: 84.7 kB / 0.7968 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.3362, allocations: 27.92 kB / 0.7968 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007972/0.337, allocations: 383.4 kB / 0.7972 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.3373, allocations: 0.7321 MB / 0.7979 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001078/0.3374, allocations: 53.44 kB / 0.798 GB, free: 492 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.3375, allocations: 15.44 kB / 0.798 GB, free: 480 kB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.3375, allocations: 0 / 0.798 GB, free: 480 kB / 0.6075 GB Notification: Performance of Templates: time 0.007384/0.3449, allocations: 3.123 MB / 0.801 GB, free: 13.36 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: