Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.IO.Python36.Examples.KalmanFilter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.869/4.869, allocations: 0.5623 GB / 0.5776 GB, free: 3.391 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002437/0.002437, allocations: 356 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.128/4.128, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001757/0.001757, allocations: 176.3 kB / 1.226 GB, free: 35.96 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.0004871, allocations: 9.062 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2123, allocations: 115.3 MB / 1.461 GB, free: 6.59 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.KalmanFilter): time 0.002147/0.2145, allocations: 1.428 MB / 1.463 GB, free: 5.145 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002999/0.2175, allocations: 1.714 MB / 1.464 GB, free: 3.418 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.2177, allocations: 4 kB / 1.464 GB, free: 3.414 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.2178, allocations: 19.78 kB / 1.464 GB, free: 3.395 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.218, allocations: 23.8 kB / 1.464 GB, free: 3.371 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009759/0.219, allocations: 255.3 kB / 1.465 GB, free: 3.121 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.2193, allocations: 191.4 kB / 1.465 GB, free: 2.934 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.2194, allocations: 21.55 kB / 1.465 GB, free: 2.914 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.2195, allocations: 71.69 kB / 1.465 GB, free: 2.844 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.2197, allocations: 63.69 kB / 1.465 GB, free: 2.781 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.2197, allocations: 4 kB / 1.465 GB, free: 2.777 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005209/0.2202, allocations: 239.5 kB / 1.465 GB, free: 2.543 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.2203, allocations: 51.86 kB / 1.465 GB, free: 2.492 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.2204, allocations: 49.64 kB / 1.465 GB, free: 2.438 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.2208, allocations: 255.8 kB / 1.466 GB, free: 2.188 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2208, allocations: 0 / 1.466 GB, free: 2.188 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2208, allocations: 0 / 1.466 GB, free: 2.188 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.2209, allocations: 0 / 1.466 GB, free: 2.188 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.0009582/0.2218, allocations: 0.5027 MB / 1.466 GB, free: 1.637 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.2219, allocations: 8.031 kB / 1.466 GB, free: 1.629 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.172e-05/0.2219, allocations: 23.77 kB / 1.466 GB, free: 1.605 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.2222, allocations: 221.3 kB / 1.466 GB, free: 1.352 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.2222, allocations: 8.188 kB / 1.466 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.501e-05/0.2223, allocations: 16 kB / 1.466 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/0.2228, allocations: 156.9 kB / 1.467 GB, free: 1.164 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2228, allocations: 0 / 1.467 GB, free: 1.164 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.2229, allocations: 4 kB / 1.467 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.2229, allocations: 4 kB / 1.467 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003823/0.2233, allocations: 88.45 kB / 1.467 GB, free: 1.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.2246, allocations: 428.9 kB / 1.467 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.2251, allocations: 162.4 kB / 1.467 GB, free: 444 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.2254, allocations: 69.14 kB / 1.467 GB, free: 372 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.2254, allocations: 4 kB / 1.467 GB, free: 368 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000491/0.2259, allocations: 180.8 kB / 1.467 GB, free: 168 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 3.206e-06/0.2259, allocations: 0 / 1.467 GB, free: 168 kB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.001146/0.2271, allocations: 313.7 kB / 1.468 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.381e-05/0.2272, allocations: 93.09 kB / 1.468 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.2274, allocations: 172.5 kB / 1.468 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.524e-05/0.2275, allocations: 37.64 kB / 1.468 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.2276, allocations: 116.5 kB / 1.468 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.887e-05/0.2277, allocations: 47.36 kB / 1.468 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.688e-05/0.2277, allocations: 4 kB / 1.468 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.2279, allocations: 342.8 kB / 1.468 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.2282, allocations: 84.44 kB / 1.469 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/0.2286, allocations: 177.9 kB / 1.469 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.229, allocations: 107.9 kB / 1.469 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/0.229, allocations: 7.953 kB / 1.469 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008846/0.2299, allocations: 297.1 kB / 1.469 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.2299, allocations: 4 kB / 1.469 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.2299, allocations: 4 kB / 1.469 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.139e-05/0.23, allocations: 8.375 kB / 1.469 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.2303, allocations: 51.84 kB / 1.469 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.2303, allocations: 7.938 kB / 1.469 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.2305, allocations: 35.8 kB / 1.469 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.2306, allocations: 12 kB / 1.469 GB, free: 14.18 MB / 0.6198 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.000252/0.2308, allocations: 159.9 kB / 1.469 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.2309, allocations: 23.77 kB / 1.469 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.564e-05/0.231, allocations: 21.86 kB / 1.469 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.231, allocations: 0 / 1.469 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.231, allocations: 0 / 1.469 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.981e-05/0.2311, allocations: 96.91 kB / 1.47 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.22e-05/0.2311, allocations: 8 kB / 1.47 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.2313, allocations: 11.98 kB / 1.47 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/0.2314, allocations: 23.97 kB / 1.47 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009613/0.2324, allocations: 414.8 kB / 1.47 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001279/0.2337, allocations: 0.5992 MB / 1.471 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000299/0.234, allocations: 91.81 kB / 1.471 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001386/0.2342, allocations: 121 kB / 1.471 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of Backend: time 5.71e-07/0.2342, allocations: 96 / 1.471 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00197/0.2362, allocations: 0.5323 MB / 1.471 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001073/0.2373, allocations: 0.8117 MB / 1.472 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.01113/0.2484, allocations: 3.4 MB / 1.475 GB, free: 7.906 MB / 0.6198 GB