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 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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.263/2.263, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001606/0.001606, allocations: 180.1 kB / 325.6 MB, free: 2.82 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.572/2.572, allocations: 205.4 MB / 0.5766 GB, free: 20.8 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.001154/0.001154, allocations: 98.34 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006777/0.0006778, allocations: 12.53 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2498, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.00236/0.2522, allocations: 1.4 MB / 0.9003 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003284/0.2556, allocations: 1.706 MB / 0.9019 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.2557, allocations: 7.938 kB / 0.9019 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.2559, allocations: 19.86 kB / 0.9019 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.2561, allocations: 23.95 kB / 0.902 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.2572, allocations: 247.3 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.2574, allocations: 123.8 kB / 0.9023 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.2576, allocations: 25.55 kB / 0.9023 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.2577, allocations: 63.75 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.2579, allocations: 59.75 kB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.2579, allocations: 7.938 kB / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005579/0.2585, allocations: 195.6 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.2586, allocations: 43.86 kB / 0.9027 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.397e-05/0.2587, allocations: 49.64 kB / 0.9027 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000436/0.2591, allocations: 255.5 kB / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2591, allocations: 0 / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.265e-06/0.2591, allocations: 0 / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.2592, allocations: 0 / 0.903 GB, free: 61.22 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.0009783/0.2601, allocations: 0.4963 MB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.2602, allocations: 12.03 kB / 0.9035 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.2603, allocations: 15.81 kB / 0.9035 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.2606, allocations: 222.7 kB / 0.9037 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.2606, allocations: 12 kB / 0.9037 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.97e-05/0.2607, allocations: 12 kB / 0.9037 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.2611, allocations: 143.3 kB / 0.9039 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.2611, allocations: 0 / 0.9039 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.2612, allocations: 4 kB / 0.9039 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.2612, allocations: 0 / 0.9039 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.2615, allocations: 83.88 kB / 0.904 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.2627, allocations: 416.5 kB / 0.9044 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.2631, allocations: 154.6 kB / 0.9045 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.2632, allocations: 4 kB / 0.9045 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004253/0.2636, allocations: 155 kB / 0.9047 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.725e-06/0.2637, allocations: 0 / 0.9047 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0009716/0.2646, allocations: 297.3 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.2647, allocations: 89.11 kB / 0.905 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.2649, allocations: 168 kB / 0.9052 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.2649, allocations: 33.83 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.265, allocations: 108.6 kB / 0.9053 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.174e-05/0.2651, allocations: 47.64 kB / 0.9054 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/0.2651, allocations: 8 kB / 0.9054 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.625e-05/0.2652, allocations: 330.8 kB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.2654, allocations: 67.95 kB / 0.9058 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.2657, allocations: 172.8 kB / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.266, allocations: 91.94 kB / 0.906 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.266, allocations: 4 kB / 0.906 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006968/0.2667, allocations: 277.5 kB / 0.9063 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.2668, allocations: 8 kB / 0.9063 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.2668, allocations: 4 kB / 0.9063 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.2668, allocations: 4 kB / 0.9063 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.2671, allocations: 47.81 kB / 0.9063 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.2671, allocations: 7.984 kB / 0.9063 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.2673, allocations: 23.84 kB / 0.9064 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.2673, allocations: 8 kB / 0.9064 GB, free: 57.47 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.0001979/0.2675, allocations: 156.3 kB / 0.9065 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.2676, allocations: 23.73 kB / 0.9065 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.2677, allocations: 17.88 kB / 0.9066 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2677, allocations: 8 kB / 0.9066 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.2677, allocations: 3.953 kB / 0.9066 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.2677, allocations: 0 / 0.9066 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.2689, allocations: 0.5633 MB / 0.9071 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.2689, allocations: 0 / 0.9071 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.2691, allocations: 15.98 kB / 0.9071 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/0.2692, allocations: 7.938 kB / 0.9071 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.2692, allocations: 11.94 kB / 0.9072 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.2692, allocations: 8 kB / 0.9072 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2692, allocations: 0 / 0.9072 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009232/0.2702, allocations: 433.6 kB / 0.9076 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.2702, allocations: 92.94 kB / 0.9077 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/0.2703, allocations: 11.98 kB / 0.9077 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.2705, allocations: 15.98 kB / 0.9077 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.2706, allocations: 11.98 kB / 0.9077 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.661e-05/0.2706, allocations: 8 kB / 0.9077 GB, free: 56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001006/0.2707, allocations: 122.8 kB / 0.9078 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2708, allocations: 0 / 0.9078 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006323/0.2714, allocations: 107.9 kB / 0.9079 GB, free: 55.77 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.00114/0.2726, allocations: 428.6 kB / 0.9083 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006595/0.2732, allocations: 187.8 kB / 0.9085 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2733, allocations: 0 / 0.9085 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.2735, allocations: 82.75 kB / 0.9086 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.2739, allocations: 19.98 kB / 0.9086 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009409/0.2749, allocations: 399.2 kB / 0.909 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.2751, allocations: 0.7283 MB / 0.9097 GB, free: 54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001834/0.2753, allocations: 49.5 kB / 0.9098 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.333e-05/0.2753, allocations: 15.44 kB / 0.9098 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of SimCode: time 1.193e-06/0.2754, allocations: 0 / 0.9098 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of Templates: time 0.00944/0.2848, allocations: 3.119 MB / 0.9128 GB, free: 50.83 MB / 0.6042 GB