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.2031/0.2052, allocations: 80.85 MB / 0.6706 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Examples.KalmanFilter): time 0.003608/0.2089, allocations: 1.674 MB / 0.6722 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002162/0.2111, allocations: 0.959 MB / 0.6732 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.971e-05/0.2112, allocations: 3.938 kB / 0.6732 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.2114, allocations: 23.8 kB / 0.6732 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.2115, allocations: 27.78 kB / 0.6732 GB, free: 15.32 MB / 0.5137 GB [/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.0006823/0.2122, allocations: 199.4 kB / 0.6734 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.2126, allocations: 191.5 kB / 0.6736 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.2127, allocations: 29.11 kB / 0.6736 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.2129, allocations: 71.75 kB / 0.6737 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.213, allocations: 71.67 kB / 0.6738 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.213, allocations: 8 kB / 0.6738 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003317/0.2134, allocations: 115.8 kB / 0.6739 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.2135, allocations: 51.81 kB / 0.6739 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.534e-05/0.2136, allocations: 55.67 kB / 0.674 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.2139, allocations: 231.4 kB / 0.6742 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2139, allocations: 0 / 0.6742 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.303e-06/0.214, allocations: 0 / 0.6742 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.214, allocations: 4 kB / 0.6742 GB, free: 14.31 MB / 0.5137 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.0009231/0.2149, allocations: 478.8 kB / 0.6747 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.193e-05/0.215, allocations: 12.03 kB / 0.6747 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.79e-05/0.215, allocations: 16.84 kB / 0.6747 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.2154, allocations: 216 kB / 0.6749 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.2154, allocations: 8.328 kB / 0.6749 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.2155, allocations: 16.38 kB / 0.6749 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.2158, allocations: 147 kB / 0.6751 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2158, allocations: 0 / 0.6751 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.2159, allocations: 11.98 kB / 0.6751 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2159, allocations: 0 / 0.6751 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.2162, allocations: 63.95 kB / 0.6751 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009116/0.2171, allocations: 408.5 kB / 0.6755 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.2174, allocations: 142.6 kB / 0.6757 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.2176, allocations: 64.81 kB / 0.6757 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.2176, allocations: 11.98 kB / 0.6757 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003276/0.218, allocations: 152.9 kB / 0.6759 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.218, allocations: 0 / 0.6759 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0007339/0.2187, allocations: 275.3 kB / 0.6761 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.2188, allocations: 93.05 kB / 0.6762 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.219, allocations: 154.9 kB / 0.6764 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.219, allocations: 41.69 kB / 0.6764 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.271e-05/0.2191, allocations: 104.5 kB / 0.6765 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.785e-05/0.2191, allocations: 47.36 kB / 0.6766 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.56e-05/0.2192, allocations: 49.7 kB / 0.6766 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.2194, allocations: 330.8 kB / 0.6769 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.2196, allocations: 71.95 kB / 0.677 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.2198, allocations: 165.3 kB / 0.6772 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003848/0.2202, allocations: 251.7 kB / 0.6774 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2202, allocations: 0 / 0.6774 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005971/0.2208, allocations: 269.1 kB / 0.6777 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.2208, allocations: 4 kB / 0.6777 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.2209, allocations: 4 kB / 0.6777 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.2209, allocations: 4 kB / 0.6777 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.221, allocations: 36.3 kB / 0.6777 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.2211, allocations: 15.92 kB / 0.6777 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.2212, allocations: 23.78 kB / 0.6777 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.2212, allocations: 12 kB / 0.6778 GB, free: 10.36 MB / 0.5137 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.000358/0.2216, allocations: 155.5 kB / 0.6779 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.2216, allocations: 15.81 kB / 0.6779 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.353e-05/0.2217, allocations: 21.17 kB / 0.6779 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2217, allocations: 4 kB / 0.6779 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.2217, allocations: 0 / 0.6779 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2217, allocations: 4 kB / 0.6779 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.2227, allocations: 0.5354 MB / 0.6785 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.2228, allocations: 4 kB / 0.6785 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.678e-05/0.2229, allocations: 15.98 kB / 0.6785 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.2229, allocations: 4 kB / 0.6785 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.2229, allocations: 3.984 kB / 0.6785 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.2229, allocations: 15.94 kB / 0.6785 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2229, allocations: 0 / 0.6785 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006589/0.2236, allocations: 400 kB / 0.6789 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.747e-05/0.2237, allocations: 92.91 kB / 0.679 GB, free: 9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.2237, allocations: 8 kB / 0.679 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.2238, allocations: 15.98 kB / 0.679 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.2239, allocations: 15.98 kB / 0.679 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.2239, allocations: 7.984 kB / 0.679 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.279e-05/0.224, allocations: 115.9 kB / 0.6791 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.224, allocations: 0 / 0.6791 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003739/0.2244, allocations: 60 kB / 0.6792 GB, free: 8.781 MB / 0.5137 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.000614/0.225, allocations: 288.2 kB / 0.6795 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004027/0.2254, allocations: 178.8 kB / 0.6796 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2255, allocations: 0.75 kB / 0.6796 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.2256, allocations: 87.8 kB / 0.6797 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.226, allocations: 19.98 kB / 0.6797 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000837/0.2268, allocations: 334.1 kB / 0.6801 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.2273, allocations: 0.7242 MB / 0.6808 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.294e-05/0.2274, allocations: 29.53 kB / 0.6808 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.2274, allocations: 19.42 kB / 0.6808 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.2275, allocations: 0 / 0.6808 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of Templates: time 0.006101/0.2336, allocations: 2.469 MB / 0.6832 GB, free: 4.656 MB / 0.5137 GB 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)