Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.712/1.712, allocations: 288.4 MB / 303.4 MB, free: 8.113 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 184.4 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.4 MB / 0.6307 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007819/0.000782, allocations: 96.88 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004398/0.0004398, allocations: 10.66 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.236, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.001816/0.2379, allocations: 1.396 MB / 0.981 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001954/0.2399, allocations: 1.706 MB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.865e-05/0.2399, allocations: 3.938 kB / 0.9826 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.2401, allocations: 15.86 kB / 0.9826 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.2402, allocations: 23.84 kB / 0.9827 GB, free: 24.49 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.0006529/0.2409, allocations: 253.5 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.241, allocations: 171.5 kB / 0.9831 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.368e-05/0.2411, allocations: 21.84 kB / 0.9831 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.2412, allocations: 63.75 kB / 0.9832 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.988e-05/0.2413, allocations: 63.67 kB / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.2414, allocations: 4 kB / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003108/0.2417, allocations: 239.6 kB / 0.9834 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.302e-05/0.2418, allocations: 43.86 kB / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.2418, allocations: 45.64 kB / 0.9835 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.2421, allocations: 251.5 kB / 0.9838 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2421, allocations: 8 kB / 0.9838 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2421, allocations: 0 / 0.9838 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2421, allocations: 0 / 0.9838 GB, free: 23.35 MB / 0.6198 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.0006617/0.2428, allocations: 498.7 kB / 0.9843 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.2428, allocations: 8.031 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.2429, allocations: 23.7 kB / 0.9843 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.243, allocations: 208.2 kB / 0.9845 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.2431, allocations: 11.98 kB / 0.9845 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.2431, allocations: 11.98 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.2434, allocations: 155.8 kB / 0.9847 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.2434, allocations: 0 / 0.9847 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.2434, allocations: 4 kB / 0.9847 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2434, allocations: 4 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.2436, allocations: 83.94 kB / 0.9847 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006677/0.2443, allocations: 412.7 kB / 0.9851 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.2446, allocations: 154.6 kB / 0.9853 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.2447, allocations: 64.81 kB / 0.9853 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.2447, allocations: 8 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.245, allocations: 154.3 kB / 0.9855 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.245, allocations: 0 / 0.9855 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.000537/0.2455, allocations: 298.5 kB / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.2456, allocations: 93.05 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.567e-05/0.2457, allocations: 165.2 kB / 0.986 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.2457, allocations: 33.7 kB / 0.9861 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.2458, allocations: 108.5 kB / 0.9862 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.2458, allocations: 55.38 kB / 0.9862 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.2458, allocations: 4 kB / 0.9862 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.283e-05/0.2459, allocations: 334.8 kB / 0.9865 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.246, allocations: 71.95 kB / 0.9866 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.2462, allocations: 161.3 kB / 0.9868 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.2464, allocations: 99.92 kB / 0.9869 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2464, allocations: 3.938 kB / 0.9869 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003645/0.2467, allocations: 281 kB / 0.9871 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2468, allocations: 4 kB / 0.9871 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2468, allocations: 4 kB / 0.9871 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.2468, allocations: 4.375 kB / 0.9871 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.2469, allocations: 43.91 kB / 0.9872 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.2469, allocations: 4 kB / 0.9872 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.97e-05/0.247, allocations: 27.8 kB / 0.9872 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.2471, allocations: 15.98 kB / 0.9872 GB, free: 19.53 MB / 0.6198 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.0001077/0.2472, allocations: 147.5 kB / 0.9874 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.2472, allocations: 19.81 kB / 0.9874 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.784e-05/0.2473, allocations: 17.88 kB / 0.9874 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2473, allocations: 0 / 0.9874 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2473, allocations: 7.984 kB / 0.9874 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2473, allocations: 0 / 0.9874 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006243/0.2479, allocations: 0.566 MB / 0.988 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2479, allocations: 0 / 0.988 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.297e-05/0.248, allocations: 19.98 kB / 0.988 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.248, allocations: 4 kB / 0.988 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.2481, allocations: 4 kB / 0.988 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2481, allocations: 11.83 kB / 0.988 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2481, allocations: 0 / 0.988 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.2486, allocations: 421.5 kB / 0.9884 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.2486, allocations: 92.89 kB / 0.9885 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.2486, allocations: 11.98 kB / 0.9885 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.2488, allocations: 24 kB / 0.9885 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.2488, allocations: 11.98 kB / 0.9885 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.2489, allocations: 11.98 kB / 0.9886 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.69e-05/0.2489, allocations: 121.6 kB / 0.9887 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2489, allocations: 0 / 0.9887 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003801/0.2493, allocations: 103.9 kB / 0.9888 GB, free: 17.86 MB / 0.6198 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.0007135/0.25, allocations: 431.5 kB / 0.9892 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003534/0.2504, allocations: 183.8 kB / 0.9894 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.2504, allocations: 4 kB / 0.9894 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.2506, allocations: 82.75 kB / 0.9894 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.2509, allocations: 30.11 kB / 0.9895 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/0.2515, allocations: 403.4 kB / 0.9899 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.2517, allocations: 0.7205 MB / 0.9906 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.751e-05/0.2518, allocations: 45.5 kB / 0.9906 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.2518, allocations: 19.44 kB / 0.9906 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of SimCode: time 2.01e-07/0.2518, allocations: 0 / 0.9906 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.005311/0.2571, allocations: 3.127 MB / 0.9937 GB, free: 12.89 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe 2>&1)