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.0007719/0.000775, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.004919/0.00492, allocations: 172.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.401/1.401, allocations: 252 MB / 0.5105 GB, free: 4.676 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.0005118/0.0005118, allocations: 20 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4251, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.001962/0.4272, allocations: 1.442 MB / 0.7301 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002434/0.4296, allocations: 1.787 MB / 0.7319 GB, free: 8.023 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.4297, allocations: 0 / 0.7319 GB, free: 8.023 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.4299, allocations: 19.86 kB / 0.7319 GB, free: 8.004 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.43, allocations: 19.86 kB / 0.7319 GB, free: 7.984 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Obsolete/Utilities/IO/Python27/Functions/exchange.mo:2:1-109:13:writable] Warning: Pure function ‘Buildings.Obsolete.Utilities.IO.Python27.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.431, allocations: 272.3 kB / 0.7322 GB, free: 7.723 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.4313, allocations: 175.6 kB / 0.7323 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.4314, allocations: 31.45 kB / 0.7324 GB, free: 7.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.4315, allocations: 71.75 kB / 0.7324 GB, free: 7.449 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.4316, allocations: 63.69 kB / 0.7325 GB, free: 7.387 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.4317, allocations: 4 kB / 0.7325 GB, free: 7.383 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003725/0.432, allocations: 251.6 kB / 0.7327 GB, free: 7.137 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.17e-05/0.4321, allocations: 51.77 kB / 0.7328 GB, free: 7.086 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.996e-05/0.4322, allocations: 85.34 kB / 0.7329 GB, free: 6.996 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004166/0.4326, allocations: 347.1 kB / 0.7332 GB, free: 6.656 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4327, allocations: 0 / 0.7332 GB, free: 6.656 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4327, allocations: 4 kB / 0.7332 GB, free: 6.652 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.4327, allocations: 0 / 0.7332 GB, free: 6.652 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.0007565/0.4334, allocations: 0.4949 MB / 0.7337 GB, free: 6.109 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.4335, allocations: 8.031 kB / 0.7337 GB, free: 6.102 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.4335, allocations: 24.75 kB / 0.7337 GB, free: 6.078 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.4337, allocations: 212.1 kB / 0.7339 GB, free: 5.832 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.4338, allocations: 4.375 kB / 0.7339 GB, free: 5.828 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.4338, allocations: 24.11 kB / 0.7339 GB, free: 5.805 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.4341, allocations: 146.8 kB / 0.7341 GB, free: 5.652 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.4341, allocations: 0 / 0.7341 GB, free: 5.652 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.4342, allocations: 11.98 kB / 0.7341 GB, free: 5.641 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.4342, allocations: 3.984 kB / 0.7341 GB, free: 5.637 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.4344, allocations: 79.95 kB / 0.7342 GB, free: 5.559 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000729/0.4351, allocations: 412.5 kB / 0.7346 GB, free: 5.105 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.4354, allocations: 154.6 kB / 0.7347 GB, free: 4.945 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.4356, allocations: 72.81 kB / 0.7348 GB, free: 4.871 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.4356, allocations: 4 kB / 0.7348 GB, free: 4.867 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.4359, allocations: 153 kB / 0.7349 GB, free: 4.699 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.4359, allocations: 4 kB / 0.7349 GB, free: 4.695 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.000608/0.4365, allocations: 295.1 kB / 0.7352 GB, free: 4.402 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.4366, allocations: 85.05 kB / 0.7353 GB, free: 4.301 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.4367, allocations: 180.7 kB / 0.7355 GB, free: 4.117 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.4367, allocations: 41.64 kB / 0.7355 GB, free: 4.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.4368, allocations: 104.6 kB / 0.7356 GB, free: 3.961 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.174e-05/0.4369, allocations: 55.28 kB / 0.7357 GB, free: 3.906 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.4369, allocations: 33.7 kB / 0.7357 GB, free: 3.867 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.437, allocations: 334.8 kB / 0.736 GB, free: 3.531 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.4372, allocations: 67.95 kB / 0.7361 GB, free: 3.465 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.4374, allocations: 166.3 kB / 0.7362 GB, free: 3.258 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.4378, allocations: 251.8 kB / 0.7365 GB, free: 2.969 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.4378, allocations: 4 kB / 0.7365 GB, free: 2.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004369/0.4382, allocations: 273.4 kB / 0.7367 GB, free: 2.691 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4382, allocations: 12 kB / 0.7368 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4383, allocations: 0 / 0.7368 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4383, allocations: 8 kB / 0.7368 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.4384, allocations: 43.91 kB / 0.7368 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.4384, allocations: 12 kB / 0.7368 GB, free: 2.617 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.4385, allocations: 23.78 kB / 0.7368 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.4386, allocations: 12 kB / 0.7369 GB, free: 2.582 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,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[1],$PRE.ran.uRWri[1],kalFil.sampleTrigger,$whenCondition2,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 (30): * Single equations (assignments): 30 * 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.0001524/0.4387, allocations: 152.4 kB / 0.737 GB, free: 2.426 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.4388, allocations: 15.81 kB / 0.737 GB, free: 2.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.867e-05/0.4388, allocations: 17.88 kB / 0.737 GB, free: 2.395 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4388, allocations: 4 kB / 0.737 GB, free: 2.391 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4388, allocations: 0 / 0.737 GB, free: 2.391 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.4388, allocations: 7.922 kB / 0.737 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000795/0.4396, allocations: 0.5668 MB / 0.7376 GB, free: 1.762 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.4397, allocations: 0 / 0.7376 GB, free: 1.762 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.221e-05/0.4398, allocations: 12 kB / 0.7376 GB, free: 1.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.4398, allocations: 3.938 kB / 0.7376 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.4398, allocations: 15.98 kB / 0.7376 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.4398, allocations: 4 kB / 0.7376 GB, free: 1.727 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4398, allocations: 4 kB / 0.7376 GB, free: 1.723 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006105/0.4404, allocations: 427.9 kB / 0.738 GB, free: 1.285 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.4405, allocations: 88.95 kB / 0.7381 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.4405, allocations: 11.92 kB / 0.7381 GB, free: 1.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.4407, allocations: 19.98 kB / 0.7382 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.4407, allocations: 7.984 kB / 0.7382 GB, free: 1.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.4408, allocations: 12 kB / 0.7382 GB, free: 1.129 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.775e-05/0.4408, allocations: 119.9 kB / 0.7383 GB, free: 1.012 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4408, allocations: 4.062 kB / 0.7383 GB, free: 1.008 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00045/0.4413, allocations: 103.9 kB / 0.7384 GB, free: 0.9062 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 (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.0007818/0.4421, allocations: 421.5 kB / 0.7388 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004009/0.4425, allocations: 191.6 kB / 0.739 GB, free: 416 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4425, allocations: 0 / 0.739 GB, free: 416 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.4427, allocations: 80.7 kB / 0.7391 GB, free: 336 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.443, allocations: 27.98 kB / 0.7391 GB, free: 308 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007498/0.4438, allocations: 419.4 kB / 0.7395 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.4441, allocations: 0.7205 MB / 0.7402 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001096/0.4442, allocations: 57.38 kB / 0.7402 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.4442, allocations: 15.44 kB / 0.7403 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.4442, allocations: 0 / 0.7403 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of Templates: time 0.007344/0.4516, allocations: 3.196 MB / 0.7434 GB, free: 11.86 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: