Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter") translateModel(Buildings.Utilities.IO.Python36.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.987/2.987, allocations: 287.3 MB / 302.3 MB, free: 8.281 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.001482/0.001481, allocations: 184.9 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001198/0.001197, allocations: 97.33 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007036/0.0007038, allocations: 11.17 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2428, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.KalmanFilter): time 0.002264/0.2451, allocations: 1.416 MB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00322/0.2484, allocations: 1.726 MB / 0.9813 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.2485, allocations: 0 / 0.9813 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.2487, allocations: 27.78 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.2489, allocations: 31.89 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.2501, allocations: 255.3 kB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.2504, allocations: 139.6 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.2505, allocations: 29.53 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.2507, allocations: 71.75 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.2508, allocations: 75.61 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.2509, allocations: 4 kB / 0.9819 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006094/0.2515, allocations: 191.7 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.2516, allocations: 51.86 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.181e-05/0.2517, allocations: 49.58 kB / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004595/0.2522, allocations: 263.8 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.686e-06/0.2522, allocations: 0 / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2522, allocations: 4 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2522, allocations: 0 / 0.9824 GB, free: 24.05 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0009759/0.2532, allocations: 0.4949 MB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.2533, allocations: 16.02 kB / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/0.2533, allocations: 19.77 kB / 0.9829 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.2536, allocations: 223.4 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.2537, allocations: 8.188 kB / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.2537, allocations: 12 kB / 0.9831 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.2542, allocations: 153 kB / 0.9833 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2542, allocations: 0 / 0.9833 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.4e-05/0.2542, allocations: 8 kB / 0.9833 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2543, allocations: 0 / 0.9833 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003308/0.2546, allocations: 92.45 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.2558, allocations: 436.9 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004263/0.2563, allocations: 150.5 kB / 0.9839 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.2563, allocations: 0 / 0.9839 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004623/0.2568, allocations: 187.2 kB / 0.9841 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 3.436e-06/0.2568, allocations: 0 / 0.9841 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.001003/0.2579, allocations: 323.4 kB / 0.9844 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.2579, allocations: 89.05 kB / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.2581, allocations: 170.8 kB / 0.9847 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.766e-05/0.2582, allocations: 45.69 kB / 0.9847 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.204e-05/0.2583, allocations: 104.5 kB / 0.9848 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.806e-05/0.2583, allocations: 59.38 kB / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.521e-05/0.2584, allocations: 8 kB / 0.9849 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.2585, allocations: 330.8 kB / 0.9852 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.2587, allocations: 80.5 kB / 0.9853 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/0.259, allocations: 185.9 kB / 0.9855 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.2594, allocations: 103.9 kB / 0.9856 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.2594, allocations: 3.938 kB / 0.9856 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007492/0.2601, allocations: 305.1 kB / 0.9858 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.2602, allocations: 8 kB / 0.9859 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.2602, allocations: 4.375 kB / 0.9859 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/0.2602, allocations: 8 kB / 0.9859 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.2605, allocations: 39.86 kB / 0.9859 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.2606, allocations: 11.98 kB / 0.9859 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.2608, allocations: 23.75 kB / 0.9859 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.2608, allocations: 16 kB / 0.986 GB, free: 20.12 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: 25 ($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],$PRE.ran.uRWri_temp[1],ran.uRWri_temp[1],$whenCondition2,kalFil.sampleTrigger,$PRE.ran.yR[1],ran.yR[1],$PRE.kalFil.uRWri[1],kalFil.uRWri[1],$PRE.kalFil.uRWri_temp[1],kalFil.uRWri_temp[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0002122/0.261, allocations: 163.9 kB / 0.9861 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.2611, allocations: 19.8 kB / 0.9861 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.976e-05/0.2612, allocations: 17.88 kB / 0.9861 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2612, allocations: 4 kB / 0.9862 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.2612, allocations: 0 / 0.9862 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.2612, allocations: 3.984 kB / 0.9862 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.2625, allocations: 0.5919 MB / 0.9867 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.2625, allocations: 4 kB / 0.9867 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.2627, allocations: 19.98 kB / 0.9868 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.2627, allocations: 0 / 0.9868 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.2628, allocations: 4 kB / 0.9868 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/0.2628, allocations: 11.92 kB / 0.9868 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2628, allocations: 0 / 0.9868 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.2638, allocations: 461.3 kB / 0.9872 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.464e-05/0.2639, allocations: 100.9 kB / 0.9873 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.707e-05/0.264, allocations: 4 kB / 0.9873 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.2642, allocations: 23.92 kB / 0.9873 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.154e-05/0.2643, allocations: 11.97 kB / 0.9873 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.2643, allocations: 12 kB / 0.9874 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001084/0.2645, allocations: 123.2 kB / 0.9875 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2645, allocations: 0 / 0.9875 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006866/0.2652, allocations: 112 kB / 0.9876 GB, free: 18.36 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: 15 (kalFil.sampleTrigger,ran.sampleTrigger,$whenCondition2,$whenCondition1,ran.firstTrigger,ran.yR[1],ran.uRIntPre[1],ran.uRWri[1],ran.uRWri_temp[1],kalFil.firstTrigger,kalFil.yR[1],kalFil.uRIntPre[1],kalFil.uRWri[1],kalFil.uRWri_temp[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 (20): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001151/0.2663, allocations: 429.9 kB / 0.988 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007479/0.2671, allocations: 203.7 kB / 0.9882 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.2672, allocations: 0 / 0.9882 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.2675, allocations: 94.92 kB / 0.9883 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.2679, allocations: 27.94 kB / 0.9883 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000989/0.2689, allocations: 407.1 kB / 0.9887 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.2691, allocations: 0.7359 MB / 0.9894 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001888/0.2693, allocations: 53.44 kB / 0.9895 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.535e-05/0.2694, allocations: 15.44 kB / 0.9895 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/0.2694, allocations: 4.125 kB / 0.9895 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.0101/0.2795, allocations: 3.227 MB / 0.9926 GB, free: 13.24 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe 2>&1)