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 loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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") 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.454/2.454, allocations: 251.3 MB / 266.2 MB, free: 11.53 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.001236/0.001236, allocations: 173.8 kB / 325.8 MB, free: 2.797 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.548/2.548, allocations: 205.4 MB / 0.5767 GB, free: 20.72 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.000942/0.0009416, allocations: 92.59 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004789, allocations: 13.19 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2185, allocations: 106.2 MB / 0.899 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.KalmanFilter): time 0.002251/0.2208, allocations: 1.427 MB / 0.9004 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003048/0.2239, allocations: 1.741 MB / 0.9021 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.77e-05/0.224, allocations: 0 / 0.9021 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.2242, allocations: 23.86 kB / 0.9021 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.2244, allocations: 23.78 kB / 0.9022 GB, free: 62.21 MB / 0.6042 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Utilities/IO/Python36/Functions/exchange.mo:2:1-113:13:writable] Warning: Pure function ‘Buildings.Utilities.IO.Python36.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.2254, allocations: 267.4 kB / 0.9024 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.2257, allocations: 187.5 kB / 0.9026 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.2259, allocations: 29.53 kB / 0.9026 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.226, allocations: 71.69 kB / 0.9027 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.2262, allocations: 59.69 kB / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.2262, allocations: 12 kB / 0.9028 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005548/0.2268, allocations: 235.6 kB / 0.903 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.2269, allocations: 51.86 kB / 0.903 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.807e-05/0.227, allocations: 49.58 kB / 0.9031 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.2274, allocations: 255.5 kB / 0.9033 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2274, allocations: 0 / 0.9033 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2275, allocations: 0 / 0.9033 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2275, allocations: 0 / 0.9033 GB, free: 61.01 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.0009637/0.2284, allocations: 0.5046 MB / 0.9038 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2285, allocations: 8.031 kB / 0.9038 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.163e-05/0.2286, allocations: 16.75 kB / 0.9038 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.2288, allocations: 216.9 kB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.2289, allocations: 12.31 kB / 0.9041 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.679e-05/0.2289, allocations: 19.91 kB / 0.9041 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.2293, allocations: 160.7 kB / 0.9042 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.2294, allocations: 4 kB / 0.9042 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.2294, allocations: 4 kB / 0.9042 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.2294, allocations: 4 kB / 0.9042 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/0.2298, allocations: 87.88 kB / 0.9043 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.231, allocations: 436.7 kB / 0.9047 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.2314, allocations: 160.5 kB / 0.9049 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.2317, allocations: 68.83 kB / 0.905 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.2317, allocations: 0 / 0.905 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000445/0.2322, allocations: 181 kB / 0.9051 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 2.154e-06/0.2322, allocations: 0 / 0.9051 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.0009929/0.2332, allocations: 315.5 kB / 0.9054 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.2333, allocations: 97.08 kB / 0.9055 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.2334, allocations: 174.8 kB / 0.9057 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.2335, allocations: 37.7 kB / 0.9057 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.2336, allocations: 112.6 kB / 0.9058 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.564e-05/0.2336, allocations: 51.3 kB / 0.9059 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.2337, allocations: 15.97 kB / 0.9059 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.284e-05/0.2338, allocations: 338.8 kB / 0.9062 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.234, allocations: 80.5 kB / 0.9063 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.2344, allocations: 179.4 kB / 0.9065 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.2347, allocations: 107.9 kB / 0.9066 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2347, allocations: 0 / 0.9066 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007226/0.2354, allocations: 305 kB / 0.9069 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2355, allocations: 4 kB / 0.9069 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.2355, allocations: 4 kB / 0.9069 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.2355, allocations: 4.375 kB / 0.9069 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.2358, allocations: 51.91 kB / 0.9069 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.2358, allocations: 7.938 kB / 0.9069 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.236, allocations: 27.83 kB / 0.907 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.236, allocations: 8 kB / 0.907 GB, free: 57 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.0001836/0.2362, allocations: 160 kB / 0.9071 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.2363, allocations: 19.81 kB / 0.9071 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.823e-05/0.2363, allocations: 21.86 kB / 0.9072 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.2364, allocations: 0 / 0.9072 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2364, allocations: 3.938 kB / 0.9072 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.2364, allocations: 4 kB / 0.9072 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.2376, allocations: 0.5962 MB / 0.9078 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.2376, allocations: 0 / 0.9078 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.2378, allocations: 15.98 kB / 0.9078 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.2379, allocations: 4 kB / 0.9078 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.2379, allocations: 11.98 kB / 0.9078 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.2379, allocations: 3.938 kB / 0.9078 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2379, allocations: 4.062 kB / 0.9078 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009751/0.2389, allocations: 449.7 kB / 0.9082 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.239, allocations: 88.95 kB / 0.9083 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/0.239, allocations: 23.98 kB / 0.9083 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.2393, allocations: 11.98 kB / 0.9083 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.2393, allocations: 15.98 kB / 0.9084 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/0.2394, allocations: 11.98 kB / 0.9084 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000103/0.2395, allocations: 115.3 kB / 0.9085 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2395, allocations: 7.938 kB / 0.9085 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006116/0.2401, allocations: 111.8 kB / 0.9086 GB, free: 55.24 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.00106/0.2412, allocations: 423.8 kB / 0.909 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000737/0.242, allocations: 199.8 kB / 0.9092 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.242, allocations: 0 / 0.9092 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.2423, allocations: 87.89 kB / 0.9093 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.2427, allocations: 35.28 kB / 0.9093 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.2438, allocations: 435 kB / 0.9097 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.2441, allocations: 0.7242 MB / 0.9104 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001792/0.2442, allocations: 45.5 kB / 0.9105 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.2443, allocations: 19.44 kB / 0.9105 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of SimCode: time 8.12e-07/0.2443, allocations: 0 / 0.9105 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.009498/0.2538, allocations: 3.237 MB / 0.9136 GB, free: 50.11 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.sim & ./Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe 2>&1)