Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.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.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.625/2.625, allocations: 287.3 MB / 302.3 MB, free: 8.363 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.001504/0.001504, allocations: 188.7 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.137/2.137, 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.001202/0.001202, allocations: 93.2 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000719/0.0007192, allocations: 19.09 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2525, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.002191/0.2548, allocations: 1.404 MB / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003102/0.258, allocations: 1.695 MB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.2581, allocations: 3.938 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.2583, allocations: 23.86 kB / 0.9812 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.2585, allocations: 23.89 kB / 0.9813 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.2596, allocations: 252.8 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.2598, allocations: 123.8 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.2599, allocations: 21.83 kB / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.2601, allocations: 75.69 kB / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.2602, allocations: 51.77 kB / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.2603, allocations: 4 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006014/0.2609, allocations: 199.6 kB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.261, allocations: 47.88 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.2611, allocations: 41.64 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004366/0.2615, allocations: 255.5 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2615, allocations: 0 / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2616, allocations: 0 / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2616, allocations: 0 / 0.9823 GB, free: 24.16 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.0009477/0.2625, allocations: 498.7 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2626, allocations: 8.031 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.743e-05/0.2627, allocations: 31.75 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.2629, allocations: 216.1 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.263, allocations: 8 kB / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.263, allocations: 12 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.2634, allocations: 143.3 kB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.2634, allocations: 0 / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.2635, allocations: 4 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.2635, allocations: 4 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003236/0.2638, allocations: 87.88 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.265, allocations: 412.5 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.2654, allocations: 150.6 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.2655, allocations: 3.938 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004058/0.2659, allocations: 159 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.256e-06/0.2659, allocations: 0 / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0009493/0.2669, allocations: 307.4 kB / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.2669, allocations: 89.05 kB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.2671, allocations: 160.3 kB / 0.9845 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.2672, allocations: 33.7 kB / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.2672, allocations: 116.7 kB / 0.9846 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.005e-05/0.2673, allocations: 47.44 kB / 0.9847 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/0.2673, allocations: 4 kB / 0.9847 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.2674, allocations: 334.8 kB / 0.985 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.2677, allocations: 71.89 kB / 0.9851 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.268, allocations: 173.3 kB / 0.9852 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.2682, allocations: 95.98 kB / 0.9853 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2683, allocations: 3.938 kB / 0.9853 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006951/0.269, allocations: 277 kB / 0.9856 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.269, allocations: 4 kB / 0.9856 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.269, allocations: 4 kB / 0.9856 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.2691, allocations: 4.375 kB / 0.9856 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.2693, allocations: 43.91 kB / 0.9856 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.2694, allocations: 11.89 kB / 0.9857 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.2695, allocations: 23.84 kB / 0.9857 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.2696, allocations: 8 kB / 0.9857 GB, free: 20.41 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.000206/0.2698, allocations: 160 kB / 0.9858 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.2698, allocations: 19.81 kB / 0.9859 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.89e-05/0.2699, allocations: 13.88 kB / 0.9859 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2699, allocations: 0 / 0.9859 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.2699, allocations: 4 kB / 0.9859 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.27, allocations: 7.938 kB / 0.9859 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.2712, allocations: 0.5568 MB / 0.9864 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2712, allocations: 0 / 0.9864 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.2714, allocations: 16 kB / 0.9864 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.2714, allocations: 7.984 kB / 0.9864 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.2714, allocations: 4 kB / 0.9865 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-06/0.2714, allocations: 3.953 kB / 0.9865 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2715, allocations: 0 / 0.9865 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009208/0.2724, allocations: 435.7 kB / 0.9869 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.044e-05/0.2725, allocations: 92.91 kB / 0.987 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/0.2725, allocations: 12.05 kB / 0.987 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.2728, allocations: 23.98 kB / 0.987 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.2729, allocations: 11.98 kB / 0.987 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/0.2729, allocations: 8 kB / 0.987 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001079/0.273, allocations: 124.9 kB / 0.9871 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.273, allocations: 0 / 0.9871 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006689/0.2737, allocations: 107.9 kB / 0.9872 GB, free: 18.72 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.001159/0.2749, allocations: 416.8 kB / 0.9876 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006912/0.2756, allocations: 194.2 kB / 0.9878 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.2756, allocations: 0 / 0.9878 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.2759, allocations: 79.89 kB / 0.9879 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.2763, allocations: 20.8 kB / 0.9879 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.2773, allocations: 391.4 kB / 0.9883 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.2776, allocations: 0.7321 MB / 0.989 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001927/0.2778, allocations: 53.44 kB / 0.9891 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.2778, allocations: 19.44 kB / 0.9891 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of SimCode: time 1.052e-06/0.2779, allocations: 0 / 0.9891 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.009418/0.2873, allocations: 3.115 MB / 0.9921 GB, free: 13.77 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.sim & ./Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe 2>&1)