Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.226/2.226, 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.001542/0.001542, allocations: 176.8 kB / 325.6 MB, free: 2.809 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.841/2.841, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001097/0.001098, allocations: 100.3 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004479/0.0004481, allocations: 12.08 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2332, allocations: 106.3 MB / 0.8989 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.KalmanFilter): time 0.002208/0.2355, allocations: 1.412 MB / 0.9003 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003636/0.2391, allocations: 1.741 MB / 0.902 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.2393, allocations: 7.938 kB / 0.902 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.2395, allocations: 19.86 kB / 0.902 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.2397, allocations: 19.95 kB / 0.902 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.2408, allocations: 267.2 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003234/0.2412, allocations: 143.8 kB / 0.9024 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.2413, allocations: 25.55 kB / 0.9024 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.2415, allocations: 71.69 kB / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.2417, allocations: 63.73 kB / 0.9025 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.2418, allocations: 4 kB / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006313/0.2424, allocations: 207.6 kB / 0.9027 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.2425, allocations: 43.88 kB / 0.9028 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.212e-05/0.2426, allocations: 53.62 kB / 0.9028 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005331/0.2432, allocations: 255.5 kB / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2432, allocations: 4 kB / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2432, allocations: 0 / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.2432, allocations: 0 / 0.9031 GB, free: 61.09 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001161/0.2444, allocations: 0.4953 MB / 0.9036 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.2445, allocations: 11.97 kB / 0.9036 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.005e-05/0.2446, allocations: 23.77 kB / 0.9036 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.2449, allocations: 219.5 kB / 0.9038 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.2449, allocations: 8.188 kB / 0.9038 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.617e-05/0.245, allocations: 19.91 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/0.2456, allocations: 152.2 kB / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.2456, allocations: 4 kB / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.2457, allocations: 4 kB / 0.904 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.2457, allocations: 7.953 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004956/0.2462, allocations: 84.44 kB / 0.9041 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.2478, allocations: 436.9 kB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006158/0.2485, allocations: 154.5 kB / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.966e-05/0.2485, allocations: 11.94 kB / 0.9047 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006146/0.2492, allocations: 162 kB / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 3.898e-06/0.2492, allocations: 0 / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.001535/0.2507, allocations: 324.2 kB / 0.9051 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.2508, allocations: 89.11 kB / 0.9052 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.2511, allocations: 174.8 kB / 0.9054 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.865e-05/0.2512, allocations: 41.69 kB / 0.9054 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.2e-05/0.2513, allocations: 116.6 kB / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.976e-05/0.2514, allocations: 55.28 kB / 0.9056 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.2515, allocations: 4 kB / 0.9056 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.2516, allocations: 334.8 kB / 0.9059 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.252, allocations: 80.5 kB / 0.906 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.2525, allocations: 181.9 kB / 0.9062 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/0.2529, allocations: 115.9 kB / 0.9063 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.253, allocations: 0 / 0.9063 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001107/0.2541, allocations: 305.4 kB / 0.9066 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.2541, allocations: 14.03 kB / 0.9066 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.2542, allocations: 7.938 kB / 0.9066 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.2542, allocations: 4 kB / 0.9066 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.2546, allocations: 43.92 kB / 0.9066 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/0.2546, allocations: 7.984 kB / 0.9066 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.2549, allocations: 23.84 kB / 0.9066 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.255, allocations: 8 kB / 0.9067 GB, free: 57.16 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: 25 ($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],$PRE.ran.uRWri_temp[1],ran.uRWri_temp[1],$whenCondition2,kalFil.sampleTrigger,$PRE.ran.yR[1],ran.yR[1],$PRE.kalFil.uRWri[1],kalFil.uRWri[1],$PRE.kalFil.uRWri_temp[1],kalFil.uRWri_temp[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0002582/0.2552, allocations: 159.9 kB / 0.9068 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/0.2553, allocations: 27.78 kB / 0.9068 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.434e-05/0.2554, allocations: 13.88 kB / 0.9068 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.2554, allocations: 4 kB / 0.9069 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2554, allocations: 0 / 0.9069 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.2555, allocations: 3.984 kB / 0.9069 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.2572, allocations: 0.5919 MB / 0.9074 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.2572, allocations: 3.938 kB / 0.9074 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.2574, allocations: 15.98 kB / 0.9075 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.2574, allocations: 4 kB / 0.9075 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.2575, allocations: 11.98 kB / 0.9075 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.2575, allocations: 0 / 0.9075 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2575, allocations: 4 kB / 0.9075 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.2589, allocations: 460.4 kB / 0.9079 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.259, allocations: 92.94 kB / 0.908 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.681e-05/0.2591, allocations: 12 kB / 0.908 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.2594, allocations: 11.98 kB / 0.908 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.88e-05/0.2595, allocations: 19.97 kB / 0.908 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/0.2596, allocations: 11.95 kB / 0.9081 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001433/0.2597, allocations: 123.3 kB / 0.9082 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2597, allocations: 0 / 0.9082 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009849/0.2607, allocations: 115.8 kB / 0.9083 GB, free: 55.39 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: 15 (kalFil.sampleTrigger,ran.sampleTrigger,$whenCondition2,$whenCondition1,ran.firstTrigger,ran.yR[1],ran.uRIntPre[1],ran.uRWri[1],ran.uRWri_temp[1],kalFil.firstTrigger,kalFil.yR[1],kalFil.uRIntPre[1],kalFil.uRWri[1],kalFil.uRWri_temp[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 (20): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001455/0.2622, allocations: 433 kB / 0.9087 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008495/0.2631, allocations: 203.7 kB / 0.9089 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2631, allocations: 0 / 0.9089 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003816/0.2635, allocations: 88.7 kB / 0.909 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/0.264, allocations: 30.44 kB / 0.909 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.2653, allocations: 411.1 kB / 0.9094 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.2655, allocations: 0.732 MB / 0.9101 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002678/0.2658, allocations: 45.5 kB / 0.9102 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.073e-05/0.2659, allocations: 15.44 kB / 0.9102 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of SimCode: time 9.21e-07/0.2659, allocations: 0 / 0.9102 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.01233/0.2783, allocations: 3.219 MB / 0.9133 GB, free: 50.29 MB / 0.6042 GB