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.2163/0.2185, allocations: 80.84 MB / 0.6706 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Examples.KalmanFilter): time 0.004454/0.223, allocations: 1.682 MB / 0.6723 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00252/0.2255, allocations: 0.9707 MB / 0.6732 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.2257, allocations: 0 / 0.6732 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001804/0.2259, allocations: 23.8 kB / 0.6732 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.2261, allocations: 23.78 kB / 0.6732 GB, free: 15.34 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.001042/0.2271, allocations: 195.4 kB / 0.6734 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000479/0.2276, allocations: 183.5 kB / 0.6736 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.2278, allocations: 33.11 kB / 0.6736 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.228, allocations: 75.69 kB / 0.6737 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.2281, allocations: 63.73 kB / 0.6738 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.2282, allocations: 8 kB / 0.6738 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.2284, allocations: 115.8 kB / 0.6739 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.2285, allocations: 55.81 kB / 0.6739 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.2287, allocations: 59.67 kB / 0.674 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.229, allocations: 231.4 kB / 0.6742 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.229, allocations: 0 / 0.6742 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.342e-06/0.229, allocations: 0 / 0.6742 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.2291, allocations: 0 / 0.6742 GB, free: 14.33 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.001075/0.2301, allocations: 474.8 kB / 0.6747 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.2302, allocations: 16.03 kB / 0.6747 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.488e-05/0.2303, allocations: 16.84 kB / 0.6747 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.2306, allocations: 216 kB / 0.6749 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.2306, allocations: 12.33 kB / 0.6749 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.2306, allocations: 12.38 kB / 0.6749 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.231, allocations: 143.1 kB / 0.6751 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.231, allocations: 0 / 0.6751 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.231, allocations: 4 kB / 0.6751 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.231, allocations: 4 kB / 0.6751 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.2313, allocations: 75.88 kB / 0.6751 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009505/0.2322, allocations: 404.5 kB / 0.6755 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.2326, allocations: 146.6 kB / 0.6757 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.2328, allocations: 64.81 kB / 0.6757 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.2328, allocations: 11.88 kB / 0.6757 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000401/0.2332, allocations: 145.7 kB / 0.6759 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.984e-06/0.2332, allocations: 4 kB / 0.6759 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0007447/0.234, allocations: 279.4 kB / 0.6762 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.582e-05/0.2341, allocations: 89.11 kB / 0.6762 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.2343, allocations: 154.9 kB / 0.6764 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.2343, allocations: 37.69 kB / 0.6764 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.278e-05/0.2344, allocations: 104.5 kB / 0.6765 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.694e-05/0.2345, allocations: 51.47 kB / 0.6766 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.856e-05/0.2346, allocations: 57.69 kB / 0.6766 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.2347, allocations: 330.8 kB / 0.6769 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.2349, allocations: 67.95 kB / 0.677 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.2351, allocations: 169.3 kB / 0.6772 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/0.2355, allocations: 247.8 kB / 0.6774 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2355, allocations: 0 / 0.6774 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004873/0.236, allocations: 261.5 kB / 0.6777 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.236, allocations: 11.94 kB / 0.6777 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.236, allocations: 4 kB / 0.6777 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.236, allocations: 4 kB / 0.6777 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.2362, allocations: 35.92 kB / 0.6777 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.2362, allocations: 4 kB / 0.6777 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.2363, allocations: 27.77 kB / 0.6777 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.2363, allocations: 8 kB / 0.6777 GB, free: 10.39 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.0002341/0.2366, allocations: 155.5 kB / 0.6779 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.2366, allocations: 19.81 kB / 0.6779 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.2367, allocations: 17.17 kB / 0.6779 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.2367, allocations: 0 / 0.6779 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.2367, allocations: 0 / 0.6779 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2367, allocations: 4 kB / 0.6779 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008533/0.2376, allocations: 0.54 MB / 0.6785 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2376, allocations: 8 kB / 0.6785 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.2377, allocations: 15.98 kB / 0.6785 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.2377, allocations: 4 kB / 0.6785 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.2378, allocations: 7.984 kB / 0.6785 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.814e-06/0.2378, allocations: 7.938 kB / 0.6785 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2378, allocations: 3.938 kB / 0.6785 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006553/0.2384, allocations: 400 kB / 0.6789 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.2385, allocations: 88.92 kB / 0.679 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.2385, allocations: 7.984 kB / 0.679 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.2387, allocations: 15.92 kB / 0.679 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.2388, allocations: 11.98 kB / 0.679 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.2388, allocations: 11.98 kB / 0.679 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.868e-05/0.2389, allocations: 115.9 kB / 0.6791 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2389, allocations: 4.062 kB / 0.6791 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003782/0.2393, allocations: 63.98 kB / 0.6792 GB, free: 8.801 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.0006396/0.2399, allocations: 284.2 kB / 0.6795 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004889/0.2404, allocations: 179.8 kB / 0.6796 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2404, allocations: 0 / 0.6796 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.2406, allocations: 75.88 kB / 0.6797 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.2409, allocations: 30.66 kB / 0.6797 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009547/0.2419, allocations: 342.9 kB / 0.6801 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006427/0.2426, allocations: 0.7202 MB / 0.6808 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.2427, allocations: 33.53 kB / 0.6808 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.2427, allocations: 19.42 kB / 0.6808 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.2427, allocations: 0 / 0.6808 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of Templates: time 0.006873/0.2496, allocations: 2.407 MB / 0.6832 GB, free: 4.73 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)