Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 86.41 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001327, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.87/1.87, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008473/0.0008474, allocations: 12.7 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2908, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.002759/0.2936, allocations: 1.416 MB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00275/0.2964, allocations: 1.698 MB / 0.7903 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.217e-05/0.2965, allocations: 0 / 0.7903 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.2967, allocations: 27.78 kB / 0.7904 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.2968, allocations: 19.86 kB / 0.7904 GB, free: 8.746 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.0007953/0.2976, allocations: 251.4 kB / 0.7906 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.2979, allocations: 163.5 kB / 0.7908 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.298, allocations: 17.83 kB / 0.7908 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.2982, allocations: 75.7 kB / 0.7909 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.2983, allocations: 55.75 kB / 0.7909 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.2984, allocations: 4 kB / 0.7909 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004471/0.2988, allocations: 231.6 kB / 0.7911 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.2989, allocations: 47.88 kB / 0.7912 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.544e-05/0.299, allocations: 49.58 kB / 0.7912 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003644/0.2994, allocations: 259.4 kB / 0.7915 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.2994, allocations: 0 / 0.7915 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2994, allocations: 0 / 0.7915 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.2994, allocations: 0 / 0.7915 GB, free: 7.609 MB / 0.6075 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.0009334/0.3004, allocations: 494.8 kB / 0.7919 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.3004, allocations: 12.03 kB / 0.792 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.3005, allocations: 19.77 kB / 0.792 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.3007, allocations: 222.8 kB / 0.7922 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.3008, allocations: 8 kB / 0.7922 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.3008, allocations: 12 kB / 0.7922 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.3011, allocations: 150 kB / 0.7923 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3011, allocations: 3.938 kB / 0.7924 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.3011, allocations: 0 / 0.7924 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.3012, allocations: 4 kB / 0.7924 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002126/0.3014, allocations: 83.94 kB / 0.7924 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008401/0.3022, allocations: 416.6 kB / 0.7928 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.3025, allocations: 154.6 kB / 0.793 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.3027, allocations: 64.83 kB / 0.793 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.3027, allocations: 4 kB / 0.793 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003461/0.3031, allocations: 163.7 kB / 0.7932 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.3031, allocations: 4 kB / 0.7932 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0006243/0.3037, allocations: 289.3 kB / 0.7935 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.3038, allocations: 97.05 kB / 0.7936 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.304, allocations: 159.3 kB / 0.7937 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.304, allocations: 45.69 kB / 0.7938 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.3041, allocations: 112.5 kB / 0.7939 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.117e-05/0.3041, allocations: 47.44 kB / 0.7939 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/0.3042, allocations: 4 kB / 0.7939 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3043, allocations: 334.8 kB / 0.7942 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.3045, allocations: 63.95 kB / 0.7943 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.3047, allocations: 168.8 kB / 0.7945 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.3049, allocations: 95.92 kB / 0.7946 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.3049, allocations: 4 kB / 0.7946 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004318/0.3053, allocations: 269.4 kB / 0.7948 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.3054, allocations: 15.98 kB / 0.7948 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3054, allocations: 3.984 kB / 0.7948 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3054, allocations: 8 kB / 0.7948 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.3055, allocations: 39.92 kB / 0.7949 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.3056, allocations: 4 kB / 0.7949 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.3057, allocations: 27.78 kB / 0.7949 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.3057, allocations: 12 kB / 0.7949 GB, free: 3.785 MB / 0.6075 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.0001543/0.3059, allocations: 147.5 kB / 0.7951 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.3059, allocations: 15.81 kB / 0.7951 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.716e-05/0.306, allocations: 25.8 kB / 0.7951 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.306, allocations: 4 kB / 0.7951 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.306, allocations: 0 / 0.7951 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.306, allocations: 3.938 kB / 0.7951 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008149/0.3068, allocations: 0.5636 MB / 0.7957 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3068, allocations: 0 / 0.7957 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.696e-05/0.3069, allocations: 19.92 kB / 0.7957 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3069, allocations: 0 / 0.7957 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.307, allocations: 8 kB / 0.7957 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.307, allocations: 11.94 kB / 0.7957 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.307, allocations: 8 kB / 0.7957 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006298/0.3076, allocations: 412 kB / 0.7961 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.3077, allocations: 100.9 kB / 0.7962 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.3077, allocations: 4 kB / 0.7962 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.3079, allocations: 19.94 kB / 0.7962 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.3079, allocations: 15.92 kB / 0.7962 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.308, allocations: 11.98 kB / 0.7963 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.61e-05/0.3081, allocations: 116 kB / 0.7964 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3081, allocations: 4.062 kB / 0.7964 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004813/0.3086, allocations: 104 kB / 0.7965 GB, free: 2.109 MB / 0.6075 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.0009526/0.3095, allocations: 417.8 kB / 0.7969 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004059/0.3099, allocations: 194.3 kB / 0.797 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3099, allocations: 0 / 0.797 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.3101, allocations: 80.7 kB / 0.7971 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.3104, allocations: 31.92 kB / 0.7972 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007906/0.3112, allocations: 403.3 kB / 0.7975 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.3115, allocations: 0.7244 MB / 0.7982 GB, free: 340 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001122/0.3117, allocations: 53.44 kB / 0.7983 GB, free: 288 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.3117, allocations: 15.44 kB / 0.7983 GB, free: 276 kB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.3117, allocations: 0 / 0.7983 GB, free: 276 kB / 0.6075 GB Notification: Performance of Templates: time 0.006679/0.3184, allocations: 3.131 MB / 0.8014 GB, free: 13.15 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe >> ../files/Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.sim & ./Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe 2>&1) Environment - environmentSimulation: