Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter") translateModel(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.003/2.003, allocations: 391.2 MB / 407 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 187.4 kB / 499.1 MB, free: 4.641 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 0.7948 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 113.3 kB / 0.9329 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009859/0.000986, allocations: 49.23 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2342, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter): time 0.002806/0.2371, allocations: 1.774 MB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.2392, allocations: 1.799 MB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.2394, allocations: 3.938 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.2396, allocations: 19.86 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.2397, allocations: 27.84 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.2409, allocations: 268.8 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.2411, allocations: 203.5 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 7.858e-05/0.2412, allocations: 29.5 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.2413, allocations: 79.67 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.479e-05/0.2414, allocations: 71.67 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.2414, allocations: 8 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003703/0.2418, allocations: 255.6 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.445e-05/0.2419, allocations: 55.8 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.005e-05/0.242, allocations: 67.59 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003852/0.2424, allocations: 357.3 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2424, allocations: 4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2424, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.2424, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 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.0006948/0.2431, allocations: 0.5262 MB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.2431, allocations: 11.98 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.2432, allocations: 20.75 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.2434, allocations: 227.5 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.2434, allocations: 12.31 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.2434, allocations: 23.91 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.2437, allocations: 152.2 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.2437, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.2437, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.2437, allocations: 4 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.2439, allocations: 83.88 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006719/0.2446, allocations: 432.6 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.2448, allocations: 146.5 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.245, allocations: 64.83 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.245, allocations: 11.92 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002275/0.2452, allocations: 172.9 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.2452, allocations: 0 / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=20): time 0.0005349/0.2458, allocations: 308.1 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.2458, allocations: 89.09 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.2459, allocations: 183.6 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.246, allocations: 37.7 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.246, allocations: 108.6 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.2461, allocations: 59.28 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.2461, allocations: 61.97 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.199e-05/0.2462, allocations: 330.8 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.2463, allocations: 80.5 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.2465, allocations: 177.9 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.2468, allocations: 267.7 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2468, allocations: 4 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003865/0.2472, allocations: 301 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2472, allocations: 9.25 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2472, allocations: 4 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2472, allocations: 4 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.2474, allocations: 39.91 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.2474, allocations: 4 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.883e-05/0.2475, allocations: 24.19 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.2475, allocations: 16 kB / 1.227 GB, free: 107.9 MB / 0.823 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,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_temp[1],$PRE.ran.uRWri_temp[1],ran.uRWri[1],$PRE.ran.uRWri[1],kalFil.sampleTrigger,$whenCondition2,kalFil.uRWri_temp[1],$PRE.kalFil.uRWri_temp[1],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 (34): * Single equations (assignments): 34 * 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.0001094/0.2476, allocations: 160.5 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.2477, allocations: 15.81 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.034e-05/0.2477, allocations: 25.86 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.2477, allocations: 0 / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2477, allocations: 0 / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.2477, allocations: 8 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006531/0.2484, allocations: 0.5802 MB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2484, allocations: 4 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.77e-05/0.2485, allocations: 15.98 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.2485, allocations: 4 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.2485, allocations: 7.984 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.2486, allocations: 3.938 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2486, allocations: 4 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.2497, allocations: 1.39 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.2497, allocations: 100.8 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.2497, allocations: 8 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.2499, allocations: 19.97 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.2499, allocations: 15.97 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.2499, allocations: 8 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.303e-05/0.25, allocations: 123.2 kB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.25, allocations: 4.094 kB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004693/0.2505, allocations: 108 kB / 1.229 GB, free: 105.1 MB / 0.823 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 (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.0007609/0.2513, allocations: 447.4 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003388/0.2516, allocations: 192.4 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2516, allocations: 4.062 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.2518, allocations: 89.27 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.2521, allocations: 25.75 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006862/0.2528, allocations: 0.5891 MB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.2529, allocations: 0.7362 MB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.253, allocations: 49.44 kB / 1.231 GB, free: 103 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.2531, allocations: 19.44 kB / 1.231 GB, free: 103 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.2531, allocations: 3.938 kB / 1.231 GB, free: 103 MB / 0.823 GB Notification: Performance of Templates: time 0.005611/0.2587, allocations: 3.419 MB / 1.235 GB, free: 99.58 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe 2>&1)