Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009795/0.0009797, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001004/0.001004, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.747/1.747, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.774/1.774, allocations: 251.9 MB / 0.51 GB, free: 4.809 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005454/0.0005454, allocations: 12 kB / 0.6241 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6936/0.6942, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.002132/0.6964, allocations: 1.391 MB / 0.7293 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00255/0.6989, allocations: 1.729 MB / 0.731 GB, free: 8.293 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.319e-05/0.699, allocations: 4 kB / 0.731 GB, free: 8.289 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.6992, allocations: 15.86 kB / 0.731 GB, free: 8.273 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.6993, allocations: 19.91 kB / 0.7311 GB, free: 8.254 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000682/0.7, allocations: 255.3 kB / 0.7313 GB, free: 8.004 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.7003, allocations: 119.7 kB / 0.7314 GB, free: 7.887 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.7004, allocations: 23.52 kB / 0.7314 GB, free: 7.863 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.7005, allocations: 63.81 kB / 0.7315 GB, free: 7.801 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.7006, allocations: 59.69 kB / 0.7316 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.164e-05/0.7007, allocations: 12 kB / 0.7316 GB, free: 7.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003696/0.701, allocations: 199.6 kB / 0.7318 GB, free: 7.535 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.762e-05/0.7011, allocations: 43.88 kB / 0.7318 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.7012, allocations: 49.58 kB / 0.7319 GB, free: 7.438 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.7015, allocations: 255.5 kB / 0.7321 GB, free: 7.188 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.7015, allocations: 4 kB / 0.7321 GB, free: 7.184 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7016, allocations: 0 / 0.7321 GB, free: 7.184 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.7016, allocations: 0 / 0.7321 GB, free: 7.184 MB / 0.545 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.000838/0.7024, allocations: 0.4908 MB / 0.7326 GB, free: 6.645 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.7025, allocations: 8.031 kB / 0.7326 GB, free: 6.637 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/0.7025, allocations: 19.77 kB / 0.7326 GB, free: 6.617 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.7028, allocations: 210.8 kB / 0.7328 GB, free: 6.371 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.7028, allocations: 8 kB / 0.7328 GB, free: 6.363 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.7029, allocations: 12 kB / 0.7328 GB, free: 6.352 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.7032, allocations: 150.3 kB / 0.733 GB, free: 6.195 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.7032, allocations: 0 / 0.733 GB, free: 6.195 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.7032, allocations: 7.984 kB / 0.733 GB, free: 6.188 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.7032, allocations: 4 kB / 0.733 GB, free: 6.184 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.7035, allocations: 79.95 kB / 0.7331 GB, free: 6.105 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008994/0.7044, allocations: 412.5 kB / 0.7334 GB, free: 5.652 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.7048, allocations: 158.6 kB / 0.7336 GB, free: 5.488 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.7048, allocations: 4 kB / 0.7336 GB, free: 5.484 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003377/0.7051, allocations: 157 kB / 0.7338 GB, free: 5.312 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.7052, allocations: 3.938 kB / 0.7338 GB, free: 5.309 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0006198/0.7058, allocations: 291.6 kB / 0.734 GB, free: 5.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/0.7059, allocations: 105 kB / 0.7341 GB, free: 4.898 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.706, allocations: 157.4 kB / 0.7343 GB, free: 4.738 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/0.7061, allocations: 41.69 kB / 0.7343 GB, free: 4.691 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.159e-05/0.7062, allocations: 100.6 kB / 0.7344 GB, free: 4.586 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.062e-05/0.7063, allocations: 55.62 kB / 0.7345 GB, free: 4.531 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/0.7063, allocations: 4 kB / 0.7345 GB, free: 4.527 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.7064, allocations: 330.8 kB / 0.7348 GB, free: 4.195 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.7066, allocations: 67.95 kB / 0.7349 GB, free: 4.129 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.7068, allocations: 166.3 kB / 0.735 GB, free: 3.922 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.707, allocations: 103.9 kB / 0.7351 GB, free: 3.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.707, allocations: 0 / 0.7351 GB, free: 3.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004493/0.7075, allocations: 277.1 kB / 0.7354 GB, free: 3.543 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.7075, allocations: 4 kB / 0.7354 GB, free: 3.539 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.7075, allocations: 4 kB / 0.7354 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.7076, allocations: 7.984 kB / 0.7354 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.7077, allocations: 35.92 kB / 0.7354 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.7077, allocations: 16.3 kB / 0.7354 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.7079, allocations: 23.83 kB / 0.7355 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.7079, allocations: 12.08 kB / 0.7355 GB, free: 3.441 MB / 0.545 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.0002122/0.7081, allocations: 151.5 kB / 0.7356 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.7081, allocations: 15.81 kB / 0.7356 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.7082, allocations: 25.8 kB / 0.7357 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.7082, allocations: 8 kB / 0.7357 GB, free: 3.238 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.7082, allocations: 0 / 0.7357 GB, free: 3.238 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.7082, allocations: 3.953 kB / 0.7357 GB, free: 3.234 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008812/0.7091, allocations: 0.5529 MB / 0.7362 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.7091, allocations: 4 kB / 0.7362 GB, free: 2.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.365e-05/0.7092, allocations: 23.92 kB / 0.7362 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.7092, allocations: 0 / 0.7362 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.7093, allocations: 4 kB / 0.7362 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.7093, allocations: 7.938 kB / 0.7363 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7093, allocations: 0 / 0.7363 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007828/0.7101, allocations: 439.9 kB / 0.7367 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.7101, allocations: 100.8 kB / 0.7368 GB, free: 2.016 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.7102, allocations: 7.984 kB / 0.7368 GB, free: 2.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.7103, allocations: 20.05 kB / 0.7368 GB, free: 1.988 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.7104, allocations: 11.98 kB / 0.7368 GB, free: 1.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.7104, allocations: 7.984 kB / 0.7368 GB, free: 1.969 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.541e-05/0.7105, allocations: 128.8 kB / 0.7369 GB, free: 1.844 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7105, allocations: 3.938 kB / 0.7369 GB, free: 1.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004524/0.711, allocations: 99.98 kB / 0.737 GB, free: 1.742 MB / 0.545 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: 13 (kalFil.sampleTrigger,ran.sampleTrigger,$whenCondition2,$whenCondition1,ran.firstTrigger,ran.yR[1],ran.uRIntPre[1],ran.uRWri[1],kalFil.firstTrigger,kalFil.yR[1],kalFil.uRIntPre[1],kalFil.uRWri[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 (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0009309/0.7119, allocations: 419.9 kB / 0.7374 GB, free: 1.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003735/0.7123, allocations: 190.5 kB / 0.7376 GB, free: 1.246 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7123, allocations: 0 / 0.7376 GB, free: 1.246 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.7125, allocations: 83.89 kB / 0.7377 GB, free: 1.164 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.7127, allocations: 19.98 kB / 0.7377 GB, free: 1.145 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007165/0.7135, allocations: 387.8 kB / 0.7381 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.7139, allocations: 0.7322 MB / 0.7388 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001084/0.714, allocations: 41.5 kB / 0.7388 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.7141, allocations: 23.44 kB / 0.7389 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.7141, allocations: 0 / 0.7389 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of Templates: time 0.006821/0.7209, allocations: 3.125 MB / 0.7419 GB, free: 12.8 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.sim & ./Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe 2>&1) Environment - environmentSimulation: