Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.992/4.992, allocations: 0.5623 GB / 0.5776 GB, free: 3.324 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.002449/0.002449, allocations: 352.4 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.131/4.131, allocations: 410.7 MB / 1.113 GB, free: 5.906 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001869/0.001869, allocations: 191.3 kB / 1.226 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.0005072, allocations: 15.98 kB / 1.349 GB, free: 8.184 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7066/0.7071, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.002105/0.7093, allocations: 1.415 MB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00279/0.7121, allocations: 1.692 MB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.346e-05/0.7122, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.7124, allocations: 25 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.7125, allocations: 23.73 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000899/0.7134, allocations: 244.8 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000224/0.7137, allocations: 163.5 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.7138, allocations: 27.78 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.7139, allocations: 63.75 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.7141, allocations: 59.69 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.7141, allocations: 4 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004848/0.7146, allocations: 231.5 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.483e-05/0.7147, allocations: 44.83 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.807e-05/0.7148, allocations: 49.64 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.7151, allocations: 251.5 kB / 1.466 GB, free: 280 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7152, allocations: 0.7812 kB / 1.466 GB, free: 280 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7152, allocations: 4 kB / 1.466 GB, free: 280 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7152, allocations: 1.031 kB / 1.466 GB, free: 280 MB / 0.8542 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.0009133/0.7161, allocations: 493.2 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.7162, allocations: 12.12 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.7162, allocations: 25.41 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.7165, allocations: 210.8 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.7165, allocations: 8 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.7165, allocations: 12 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.7169, allocations: 151.1 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.717, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.717, allocations: 4 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.717, allocations: 4 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003219/0.7173, allocations: 84.88 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.7184, allocations: 415.2 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.7188, allocations: 157.7 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.719, allocations: 65.39 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.7191, allocations: 7.938 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000389/0.7195, allocations: 163 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.505e-06/0.7195, allocations: 1.438 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0009387/0.7204, allocations: 299.5 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.7205, allocations: 89.62 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.7207, allocations: 163.3 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.7207, allocations: 38.19 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.146e-05/0.7208, allocations: 109.1 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/0.7209, allocations: 43.45 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.7209, allocations: 12.66 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.242e-05/0.721, allocations: 328.1 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.7212, allocations: 69.27 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.7215, allocations: 177 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.7218, allocations: 87.78 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.7218, allocations: 0 / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006586/0.7224, allocations: 277.6 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.7225, allocations: 8 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.7225, allocations: 5.25 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.7225, allocations: 4 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.7228, allocations: 40.42 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.7228, allocations: 12.78 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.723, allocations: 25.92 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.723, allocations: 11.98 kB / 1.469 GB, free: 276.3 MB / 0.8542 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.0001727/0.7232, allocations: 150.4 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.7233, allocations: 15.81 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.827e-05/0.7233, allocations: 27.7 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.7233, allocations: 0 / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.7234, allocations: 0 / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.7234, allocations: 96.86 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/0.7235, allocations: 8 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.7236, allocations: 18.3 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.7237, allocations: 15.92 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007605/0.7245, allocations: 401.1 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000952/0.7255, allocations: 0.5662 MB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002447/0.7257, allocations: 88.97 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.064e-05/0.7258, allocations: 120.2 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of Backend: time 7.51e-07/0.7258, allocations: 0 / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001768/0.7276, allocations: 0.5219 MB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0007966/0.7284, allocations: 0.7758 MB / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.009306/0.7378, allocations: 3.303 MB / 1.475 GB, free: 270.5 MB / 0.8542 GB