Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.IO.Python27.Examples.KalmanFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Python27.Examples.KalmanFilter") translateModel(Buildings.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Python27.Examples.KalmanFilter") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2072/0.2079, allocations: 82.22 MB / 0.5934 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Examples.KalmanFilter): time 0.002251/0.2102, allocations: 1.361 MB / 0.5947 GB, free: 4.656 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.2119, allocations: 0.8935 MB / 0.5956 GB, free: 3.754 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.094e-05/0.212, allocations: 7.938 kB / 0.5956 GB, free: 3.746 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.2121, allocations: 11.92 kB / 0.5956 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.2122, allocations: 27.89 kB / 0.5956 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006207/0.2129, allocations: 163.5 kB / 0.5958 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.2131, allocations: 127.8 kB / 0.5959 GB, free: 3.422 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.2132, allocations: 25.38 kB / 0.5959 GB, free: 3.395 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.2133, allocations: 63.77 kB / 0.596 GB, free: 3.332 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.2135, allocations: 55.75 kB / 0.596 GB, free: 3.277 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.2135, allocations: 8 kB / 0.596 GB, free: 3.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.2137, allocations: 83.8 kB / 0.5961 GB, free: 3.188 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.2138, allocations: 43.88 kB / 0.5962 GB, free: 3.145 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.153e-05/0.2138, allocations: 45.64 kB / 0.5962 GB, free: 3.094 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.2141, allocations: 171.6 kB / 0.5964 GB, free: 2.926 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2141, allocations: 0 / 0.5964 GB, free: 2.926 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2141, allocations: 0 / 0.5964 GB, free: 2.926 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.2141, allocations: 0 / 0.5964 GB, free: 2.926 MB / 446.1 MB 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.0008313/0.2149, allocations: 465.8 kB / 0.5968 GB, free: 2.426 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.215, allocations: 8.031 kB / 0.5968 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.2151, allocations: 15.81 kB / 0.5968 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.2153, allocations: 211.5 kB / 0.597 GB, free: 2.156 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.2153, allocations: 15.89 kB / 0.597 GB, free: 2.141 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.2154, allocations: 15.98 kB / 0.5971 GB, free: 2.125 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.2157, allocations: 135.3 kB / 0.5972 GB, free: 1.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.2157, allocations: 3.984 kB / 0.5972 GB, free: 1.977 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.2157, allocations: 0 / 0.5972 GB, free: 1.977 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.2158, allocations: 4 kB / 0.5972 GB, free: 1.973 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.216, allocations: 79.91 kB / 0.5973 GB, free: 1.895 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009928/0.217, allocations: 416.6 kB / 0.5977 GB, free: 1.438 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.2173, allocations: 150.6 kB / 0.5978 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.2174, allocations: 0 / 0.5978 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000412/0.2178, allocations: 156.9 kB / 0.598 GB, free: 1.109 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 2.615e-06/0.2178, allocations: 0 / 0.598 GB, free: 1.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007402/0.2185, allocations: 291.4 kB / 0.5982 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.2186, allocations: 85.11 kB / 0.5983 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.2188, allocations: 157.2 kB / 0.5985 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.2189, allocations: 33.7 kB / 0.5985 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.219, allocations: 108.5 kB / 0.5986 GB, free: 416 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.142e-05/0.219, allocations: 55.62 kB / 0.5987 GB, free: 360 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.2191, allocations: 4.031 kB / 0.5987 GB, free: 356 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2192, allocations: 334.8 kB / 0.599 GB, free: 12 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.2194, allocations: 67.95 kB / 0.5991 GB, free: 15.95 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.2196, allocations: 168.8 kB / 0.5992 GB, free: 15.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.2198, allocations: 99.92 kB / 0.5993 GB, free: 15.64 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2198, allocations: 3.938 kB / 0.5993 GB, free: 15.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004434/0.2203, allocations: 273 kB / 0.5996 GB, free: 15.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.2203, allocations: 8 kB / 0.5996 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2203, allocations: 4 kB / 0.5996 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.2203, allocations: 4.375 kB / 0.5996 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.2205, allocations: 47.91 kB / 0.5996 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.2205, allocations: 4 kB / 0.5996 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.2206, allocations: 15.91 kB / 0.5997 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.2206, allocations: 16 kB / 0.5997 GB, free: 15.26 MB / 462.1 MB 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.000167/0.2208, allocations: 155.4 kB / 0.5998 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.2208, allocations: 19.86 kB / 0.5998 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.2209, allocations: 25.16 kB / 0.5999 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.2209, allocations: 4 kB / 0.5999 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.2209, allocations: 0 / 0.5999 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.221, allocations: 3.984 kB / 0.5999 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008737/0.2218, allocations: 0.5391 MB / 0.6004 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.2219, allocations: 11.92 kB / 0.6004 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.573e-05/0.222, allocations: 16 kB / 0.6004 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.222, allocations: 0 / 0.6004 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.222, allocations: 7.984 kB / 0.6004 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.222, allocations: 0 / 0.6004 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.222, allocations: 0 / 0.6004 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006456/0.2227, allocations: 433.6 kB / 0.6008 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.2227, allocations: 88.95 kB / 0.6009 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.2228, allocations: 12.06 kB / 0.6009 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.2229, allocations: 11.98 kB / 0.6009 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.223, allocations: 15.97 kB / 0.601 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.223, allocations: 8 kB / 0.601 GB, free: 13.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.05e-05/0.2231, allocations: 112.7 kB / 0.6011 GB, free: 13.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2231, allocations: 0 / 0.6011 GB, free: 13.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003884/0.2235, allocations: 75.78 kB / 0.6012 GB, free: 13.64 MB / 462.1 MB 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.0006306/0.2241, allocations: 281.4 kB / 0.6014 GB, free: 13.42 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003906/0.2245, allocations: 179.8 kB / 0.6016 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2246, allocations: 4 kB / 0.6016 GB, free: 13.24 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.2247, allocations: 79.89 kB / 0.6017 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.225, allocations: 20.67 kB / 0.6017 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007343/0.2257, allocations: 378.9 kB / 0.6021 GB, free: 12.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.2262, allocations: 0.7361 MB / 0.6028 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.671e-05/0.2263, allocations: 37.45 kB / 0.6028 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.2263, allocations: 19.44 kB / 0.6028 GB, free: 11.93 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2263, allocations: 0 / 0.6028 GB, free: 11.93 MB / 462.1 MB Notification: Performance of Templates: time 0.005696/0.232, allocations: 2.189 MB / 0.605 GB, free: 9.762 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.Python27.Examples.KalmanFilter.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.IO.Python27.Examples.KalmanFilter.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.IO.Python27.Examples.KalmanFilter.sim & ./Buildings_3.0.0_Buildings.Utilities.IO.Python27.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.IO.Python27.Examples.KalmanFilter.pipe 2>&1) Environment - environmentSimulation: