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.0009532/0.0009533, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001018/0.001018, allocations: 172.7 kB / 15.95 MB, free: 208 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.683/1.683, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.631/1.631, allocations: 252 MB / 0.5102 GB, free: 4.785 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.0005654/0.0005655, allocations: 12 kB / 0.6243 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6013/0.6019, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.00215/0.6041, allocations: 1.4 MB / 0.7295 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002709/0.6068, allocations: 1.717 MB / 0.7312 GB, free: 8.254 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.863e-05/0.607, allocations: 4 kB / 0.7312 GB, free: 8.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.6071, allocations: 19.86 kB / 0.7312 GB, free: 8.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.6073, allocations: 23.8 kB / 0.7312 GB, free: 8.207 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.0008899/0.6082, allocations: 243.5 kB / 0.7315 GB, free: 7.969 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.6085, allocations: 163.5 kB / 0.7316 GB, free: 7.809 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.6086, allocations: 31.5 kB / 0.7316 GB, free: 7.777 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.6088, allocations: 71.75 kB / 0.7317 GB, free: 7.707 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.6089, allocations: 59.64 kB / 0.7318 GB, free: 7.648 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.6089, allocations: 4 kB / 0.7318 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005923/0.6095, allocations: 235.6 kB / 0.732 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.6097, allocations: 47.86 kB / 0.732 GB, free: 7.367 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.433e-05/0.6097, allocations: 45.64 kB / 0.7321 GB, free: 7.316 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003561/0.6101, allocations: 247.5 kB / 0.7323 GB, free: 7.074 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.6101, allocations: 8 kB / 0.7323 GB, free: 7.066 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.755e-06/0.6101, allocations: 0 / 0.7323 GB, free: 7.066 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.6101, allocations: 0 / 0.7323 GB, free: 7.066 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.0009619/0.6111, allocations: 498.6 kB / 0.7328 GB, free: 6.531 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.6112, allocations: 12.03 kB / 0.7328 GB, free: 6.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.859e-05/0.6112, allocations: 23.75 kB / 0.7328 GB, free: 6.496 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.6115, allocations: 214.8 kB / 0.733 GB, free: 6.246 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.6115, allocations: 8 kB / 0.7331 GB, free: 6.238 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.6116, allocations: 8 kB / 0.7331 GB, free: 6.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.6119, allocations: 147.3 kB / 0.7332 GB, free: 6.074 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.6119, allocations: 0 / 0.7332 GB, free: 6.074 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.6119, allocations: 4 kB / 0.7332 GB, free: 6.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.6119, allocations: 4 kB / 0.7332 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.6121, allocations: 79.94 kB / 0.7333 GB, free: 5.988 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008548/0.613, allocations: 416.5 kB / 0.7337 GB, free: 5.531 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.6133, allocations: 154.6 kB / 0.7338 GB, free: 5.371 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.6135, allocations: 64.83 kB / 0.7339 GB, free: 5.305 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.6135, allocations: 8 kB / 0.7339 GB, free: 5.297 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003424/0.6138, allocations: 157 kB / 0.734 GB, free: 5.125 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.6139, allocations: 0 / 0.734 GB, free: 5.125 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0006462/0.6145, allocations: 299.2 kB / 0.7343 GB, free: 4.828 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/0.6146, allocations: 89.23 kB / 0.7344 GB, free: 4.723 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.6148, allocations: 168.6 kB / 0.7346 GB, free: 4.551 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.6148, allocations: 41.69 kB / 0.7346 GB, free: 4.504 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/0.6149, allocations: 104.6 kB / 0.7347 GB, free: 4.395 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.258e-05/0.615, allocations: 55.34 kB / 0.7348 GB, free: 4.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-06/0.615, allocations: 0 / 0.7348 GB, free: 4.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.6152, allocations: 330.8 kB / 0.7351 GB, free: 4.008 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.6153, allocations: 71.95 kB / 0.7352 GB, free: 3.938 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.6156, allocations: 182.2 kB / 0.7353 GB, free: 3.715 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.6158, allocations: 95.98 kB / 0.7354 GB, free: 3.621 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6158, allocations: 0 / 0.7354 GB, free: 3.621 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005045/0.6163, allocations: 273.3 kB / 0.7357 GB, free: 3.348 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.6163, allocations: 8 kB / 0.7357 GB, free: 3.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.6163, allocations: 4 kB / 0.7357 GB, free: 3.336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.6164, allocations: 4 kB / 0.7357 GB, free: 3.332 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.6165, allocations: 35.92 kB / 0.7357 GB, free: 3.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/0.6165, allocations: 11.89 kB / 0.7357 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.6167, allocations: 28.02 kB / 0.7358 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.6167, allocations: 12 kB / 0.7358 GB, free: 3.246 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.0001842/0.6169, allocations: 151.4 kB / 0.7359 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.6169, allocations: 15.86 kB / 0.7359 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.684e-05/0.617, allocations: 25.84 kB / 0.736 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.617, allocations: 4 kB / 0.736 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.617, allocations: 0 / 0.736 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.617, allocations: 7.953 kB / 0.736 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008745/0.6179, allocations: 0.5668 MB / 0.7365 GB, free: 2.418 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6179, allocations: 0 / 0.7365 GB, free: 2.418 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.922e-05/0.618, allocations: 19.98 kB / 0.7366 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.618, allocations: 4 kB / 0.7366 GB, free: 2.395 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.6181, allocations: 11.94 kB / 0.7366 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.6181, allocations: 4 kB / 0.7366 GB, free: 2.379 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6181, allocations: 0 / 0.7366 GB, free: 2.379 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006308/0.6187, allocations: 419.9 kB / 0.737 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.6188, allocations: 92.94 kB / 0.7371 GB, free: 1.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.6188, allocations: 11.95 kB / 0.7371 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.6189, allocations: 11.98 kB / 0.7371 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.619, allocations: 20.05 kB / 0.7371 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.619, allocations: 11.98 kB / 0.7371 GB, free: 1.785 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.979e-05/0.6192, allocations: 116 kB / 0.7372 GB, free: 1.672 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6192, allocations: 0 / 0.7372 GB, free: 1.672 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005038/0.6197, allocations: 104 kB / 0.7373 GB, free: 1.57 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.0009614/0.6206, allocations: 426.7 kB / 0.7377 GB, free: 1.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004156/0.6211, allocations: 183.2 kB / 0.7379 GB, free: 1.074 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6211, allocations: 4 kB / 0.7379 GB, free: 1.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.6212, allocations: 79.95 kB / 0.738 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.6216, allocations: 30.16 kB / 0.738 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008436/0.6225, allocations: 410.1 kB / 0.7384 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.6228, allocations: 0.7244 MB / 0.7391 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.623, allocations: 45.5 kB / 0.7392 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.623, allocations: 15.44 kB / 0.7392 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.623, allocations: 0 / 0.7392 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.007076/0.6301, allocations: 3.121 MB / 0.7422 GB, free: 12.61 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: