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.217/0.219, allocations: 80.83 MB / 0.5897 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Examples.KalmanFilter): time 0.004689/0.2238, allocations: 1.739 MB / 0.5914 GB, free: 5.355 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002615/0.2264, allocations: 0.9553 MB / 0.5923 GB, free: 4.391 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.2267, allocations: 4 kB / 0.5923 GB, free: 4.387 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.2269, allocations: 15.86 kB / 0.5923 GB, free: 4.371 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.2273, allocations: 15.88 kB / 0.5923 GB, free: 4.355 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Utilities/IO/Python27/Functions/exchange.mo:2:1-99:13:writable] Warning: Pure function ‘Buildings.Utilities.IO.Python27.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0009326/0.2282, allocations: 191.6 kB / 0.5925 GB, free: 4.168 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003576/0.2286, allocations: 171.5 kB / 0.5927 GB, free: 4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.2288, allocations: 29.33 kB / 0.5927 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.229, allocations: 71.7 kB / 0.5928 GB, free: 3.898 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.2292, allocations: 63.67 kB / 0.5928 GB, free: 3.836 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.095e-05/0.2293, allocations: 8 kB / 0.5929 GB, free: 3.828 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003826/0.2297, allocations: 111.8 kB / 0.593 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.2299, allocations: 51.88 kB / 0.593 GB, free: 3.668 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.23, allocations: 55.67 kB / 0.5931 GB, free: 3.613 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006002/0.2307, allocations: 227.4 kB / 0.5933 GB, free: 3.391 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2307, allocations: 0 / 0.5933 GB, free: 3.391 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2307, allocations: 0 / 0.5933 GB, free: 3.391 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.2307, allocations: 0 / 0.5933 GB, free: 3.391 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.001238/0.232, allocations: 482.8 kB / 0.5937 GB, free: 2.871 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.232, allocations: 16.03 kB / 0.5938 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.695e-05/0.2321, allocations: 16.75 kB / 0.5938 GB, free: 2.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.2324, allocations: 212 kB / 0.594 GB, free: 2.594 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.2324, allocations: 12.31 kB / 0.594 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.272e-05/0.2325, allocations: 16.36 kB / 0.594 GB, free: 2.566 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.2328, allocations: 135.6 kB / 0.5941 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2328, allocations: 0 / 0.5941 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.2328, allocations: 11.98 kB / 0.5941 GB, free: 2.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.2328, allocations: 4 kB / 0.5941 GB, free: 2.406 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/0.2331, allocations: 67.95 kB / 0.5942 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008787/0.2339, allocations: 412.4 kB / 0.5946 GB, free: 1.887 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.2343, allocations: 142.6 kB / 0.5947 GB, free: 1.738 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.2344, allocations: 68.81 kB / 0.5948 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.2345, allocations: 0 / 0.5948 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004625/0.2349, allocations: 153 kB / 0.595 GB, free: 1.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.934e-06/0.2349, allocations: 0 / 0.595 GB, free: 1.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007522/0.2357, allocations: 283.4 kB / 0.5952 GB, free: 1.219 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/0.2358, allocations: 89.09 kB / 0.5953 GB, free: 1.113 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.236, allocations: 156.3 kB / 0.5955 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.236, allocations: 33.7 kB / 0.5955 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.584e-05/0.2361, allocations: 108.6 kB / 0.5956 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.766e-05/0.2362, allocations: 51.38 kB / 0.5956 GB, free: 0.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.237e-05/0.2363, allocations: 53.7 kB / 0.5957 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.2364, allocations: 330.8 kB / 0.596 GB, free: 368 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.2366, allocations: 71.94 kB / 0.5961 GB, free: 296 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.2368, allocations: 160.8 kB / 0.5962 GB, free: 88 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.2372, allocations: 239.8 kB / 0.5965 GB, free: 15.81 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2372, allocations: 0 / 0.5965 GB, free: 15.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005539/0.2378, allocations: 269.4 kB / 0.5967 GB, free: 15.54 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.2378, allocations: 8 kB / 0.5967 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.2378, allocations: 4 kB / 0.5967 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.2379, allocations: 4 kB / 0.5967 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.238, allocations: 35.92 kB / 0.5968 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.238, allocations: 11.92 kB / 0.5968 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.2382, allocations: 19.84 kB / 0.5968 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.2382, allocations: 12 kB / 0.5968 GB, free: 15.45 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,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.0001825/0.2384, allocations: 156.4 kB / 0.597 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.2384, allocations: 15.89 kB / 0.597 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.255e-05/0.2385, allocations: 17.19 kB / 0.597 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.2385, allocations: 4 kB / 0.597 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.2385, allocations: 3.938 kB / 0.597 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2385, allocations: 0 / 0.597 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008671/0.2394, allocations: 0.5488 MB / 0.5975 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.2394, allocations: 0 / 0.5975 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.996e-05/0.2395, allocations: 15.98 kB / 0.5975 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2395, allocations: 3.938 kB / 0.5975 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.2395, allocations: 11.98 kB / 0.5976 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.2396, allocations: 3.938 kB / 0.5976 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2396, allocations: 0 / 0.5976 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007488/0.2403, allocations: 405.6 kB / 0.598 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.2404, allocations: 89.03 kB / 0.598 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.2404, allocations: 8 kB / 0.598 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.2406, allocations: 15.92 kB / 0.5981 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.2406, allocations: 11.98 kB / 0.5981 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.2407, allocations: 16.05 kB / 0.5981 GB, free: 14.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.608e-05/0.2408, allocations: 118.7 kB / 0.5982 GB, free: 13.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2408, allocations: 0 / 0.5982 GB, free: 13.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004013/0.2412, allocations: 59.89 kB / 0.5983 GB, free: 13.87 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 (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.0006745/0.2419, allocations: 278 kB / 0.5985 GB, free: 13.65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005222/0.2424, allocations: 171.8 kB / 0.5987 GB, free: 13.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2424, allocations: 0 / 0.5987 GB, free: 13.48 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.2426, allocations: 82.39 kB / 0.5988 GB, free: 13.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.243, allocations: 20.8 kB / 0.5988 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008228/0.2438, allocations: 375.9 kB / 0.5991 GB, free: 12.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.2443, allocations: 0.7243 MB / 0.5998 GB, free: 12.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.2444, allocations: 33.52 kB / 0.5999 GB, free: 12.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.2444, allocations: 19.44 kB / 0.5999 GB, free: 12.18 MB / 462.1 MB Notification: Performance of SimCode: time 7.22e-07/0.2445, allocations: 3.938 kB / 0.5999 GB, free: 12.18 MB / 462.1 MB Notification: Performance of Templates: time 0.0078/0.2523, allocations: 2.276 MB / 0.6021 GB, free: 9.922 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.Python27.Examples.KalmanFilter.makefile (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)