Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 115.3 kB / 15.34 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 192.3 kB / 16.25 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.767/2.767, allocations: 472.6 MB / 0.7448 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 61.38 kB / 0.9115 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3083, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter): time 0.0033/0.3117, allocations: 1.793 MB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002778/0.3145, allocations: 1.783 MB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.3146, allocations: 0 / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.3149, allocations: 23.86 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.3151, allocations: 23.8 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.3166, allocations: 275.5 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.317, allocations: 219.4 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.3171, allocations: 41.5 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.3173, allocations: 83.69 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.3175, allocations: 71.67 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.3175, allocations: 12 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004959/0.318, allocations: 263.6 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.3182, allocations: 67.81 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.584e-05/0.3183, allocations: 71.64 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005473/0.3188, allocations: 363.3 kB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3188, allocations: 0 / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3188, allocations: 0 / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.3189, allocations: 0 / 1.073 GB, free: 5.746 MB / 0.8262 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.0009674/0.3198, allocations: 0.5263 MB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3199, allocations: 8.031 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.072e-05/0.32, allocations: 16.75 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.3202, allocations: 236.6 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.3203, allocations: 16.3 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/0.3203, allocations: 12 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.3207, allocations: 151.3 kB / 1.074 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3207, allocations: 7.938 kB / 1.074 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.3207, allocations: 0 / 1.074 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3207, allocations: 4 kB / 1.074 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.3209, allocations: 83.88 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009073/0.3219, allocations: 424.7 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.3222, allocations: 154.4 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.3223, allocations: 72.81 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.3224, allocations: 0 / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003561/0.3227, allocations: 168.9 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.3227, allocations: 0 / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0007044/0.3235, allocations: 307.8 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.3235, allocations: 89.09 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.3237, allocations: 164.5 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.3237, allocations: 45.7 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.3238, allocations: 116.4 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.217e-05/0.3239, allocations: 55.34 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/0.324, allocations: 57.97 kB / 1.075 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.3241, allocations: 334.8 kB / 1.076 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.3243, allocations: 76.5 kB / 1.076 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.3245, allocations: 181.8 kB / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.3249, allocations: 263.8 kB / 1.076 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3249, allocations: 0 / 1.076 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000502/0.3254, allocations: 305.1 kB / 1.076 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.3254, allocations: 8 kB / 1.076 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3254, allocations: 4 kB / 1.076 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.3255, allocations: 4 kB / 1.076 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.3256, allocations: 39.91 kB / 1.076 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.3256, allocations: 11.88 kB / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.3258, allocations: 19.84 kB / 1.076 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.3258, allocations: 16.25 kB / 1.076 GB, free: 1.504 MB / 0.8262 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.0001779/0.326, allocations: 163.9 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.326, allocations: 15.81 kB / 1.077 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.779e-05/0.3261, allocations: 17.88 kB / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3261, allocations: 4 kB / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.3261, allocations: 4.078 kB / 1.077 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3261, allocations: 7.922 kB / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009277/0.3271, allocations: 0.5841 MB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3271, allocations: 0 / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.3272, allocations: 15.98 kB / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3272, allocations: 0 / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.3272, allocations: 7.984 kB / 1.077 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/0.3272, allocations: 7.938 kB / 1.077 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3273, allocations: 0 / 1.077 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000701/0.328, allocations: 433.3 kB / 1.078 GB, free: 176 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.328, allocations: 100.9 kB / 1.078 GB, free: 56 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.898e-05/0.3281, allocations: 11.94 kB / 1.078 GB, free: 44 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.3283, allocations: 15.98 kB / 1.078 GB, free: 28 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.3283, allocations: 16.03 kB / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.3284, allocations: 8 kB / 1.078 GB, free: 4 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001211/0.3285, allocations: 124.8 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3285, allocations: 0 / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000513/0.329, allocations: 115.9 kB / 1.078 GB, free: 15.77 MB / 0.8419 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.0009526/0.33, allocations: 440.3 kB / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004814/0.3305, allocations: 229.6 kB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3305, allocations: 0 / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.3307, allocations: 83.89 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.331, allocations: 32.72 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007761/0.3318, allocations: 424.2 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.3321, allocations: 0.7242 MB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001285/0.3323, allocations: 49.5 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.3323, allocations: 15.44 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3323, allocations: 0 / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of Templates: time 0.007171/0.3395, allocations: 3.406 MB / 1.083 GB, free: 10.45 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.sim & ./Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe 2>&1)