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.001101/0.001101, allocations: 106.8 kB / 16.38 MB, free: 6.488 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.001033/0.001033, allocations: 193.4 kB / 17.32 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.1 MB / 223.2 MB, free: 12.31 MB / 190.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.76/1.76, allocations: 292.3 MB / 0.5496 GB, free: 17.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.001389/0.001389, allocations: 59.91 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.2007, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.003049/0.2038, allocations: 1.73 MB / 0.7865 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3722/0.576, allocations: 1.82 MB / 0.7883 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.657e-05/0.5762, allocations: 5.688 kB / 0.7883 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.5764, allocations: 28.98 kB / 0.7883 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.5766, allocations: 26.91 kB / 0.7883 GB, free: 46.63 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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.Strings.replace'. Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.5778, allocations: 297.3 kB / 0.7886 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000233/0.5781, allocations: 191.4 kB / 0.7888 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.5782, allocations: 30.08 kB / 0.7888 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.5783, allocations: 80.62 kB / 0.7889 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.5785, allocations: 70.33 kB / 0.789 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.5785, allocations: 9.25 kB / 0.789 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004049/0.5789, allocations: 285.2 kB / 0.7892 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.667e-05/0.579, allocations: 46.52 kB / 0.7893 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.729e-05/0.5791, allocations: 64.06 kB / 0.7893 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004208/0.5795, allocations: 359.7 kB / 0.7897 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5795, allocations: 0 / 0.7897 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5795, allocations: 1 kB / 0.7897 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.5795, allocations: 0 / 0.7897 GB, free: 46.54 MB / 0.6544 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.0007606/0.5803, allocations: 0.5081 MB / 0.7902 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.5804, allocations: 9.219 kB / 0.7902 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.5804, allocations: 22.22 kB / 0.7902 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.5806, allocations: 221.8 kB / 0.7904 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.5806, allocations: 11.59 kB / 0.7904 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.5806, allocations: 12.34 kB / 0.7905 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.5809, allocations: 135.7 kB / 0.7906 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.5809, allocations: 9.203 kB / 0.7906 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.5809, allocations: 5.438 kB / 0.7906 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.581, allocations: 3.25 kB / 0.7906 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.5811, allocations: 69.16 kB / 0.7907 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007085/0.5819, allocations: 413.9 kB / 0.7911 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.5821, allocations: 145.8 kB / 0.7912 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.5823, allocations: 66.03 kB / 0.7913 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.5823, allocations: 6.469 kB / 0.7913 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.5825, allocations: 149.3 kB / 0.7914 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.512e-06/0.5826, allocations: 0 / 0.7914 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0005698/0.5831, allocations: 287.9 kB / 0.7917 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.5832, allocations: 85.59 kB / 0.7918 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.5833, allocations: 167.3 kB / 0.7919 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.5833, allocations: 42.45 kB / 0.792 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.5834, allocations: 105.3 kB / 0.7921 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.5834, allocations: 48.55 kB / 0.7921 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.076e-05/0.5835, allocations: 56.91 kB / 0.7922 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.472e-05/0.5836, allocations: 332.9 kB / 0.7925 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.5837, allocations: 70.16 kB / 0.7926 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.5838, allocations: 165.5 kB / 0.7927 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.5841, allocations: 243.7 kB / 0.7929 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5842, allocations: 0.6875 kB / 0.7929 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003774/0.5845, allocations: 269.1 kB / 0.7932 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.5846, allocations: 6.969 kB / 0.7932 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5846, allocations: 6.812 kB / 0.7932 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.5846, allocations: 6.938 kB / 0.7932 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.5847, allocations: 31.91 kB / 0.7933 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.5847, allocations: 10.36 kB / 0.7933 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.5849, allocations: 19.59 kB / 0.7933 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.5849, allocations: 15.59 kB / 0.7933 GB, free: 44.48 MB / 0.6544 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.0001125/0.585, allocations: 155.4 kB / 0.7934 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.585, allocations: 17.97 kB / 0.7935 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.374e-05/0.5851, allocations: 16.5 kB / 0.7935 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.5851, allocations: 6.828 kB / 0.7935 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5851, allocations: 0 / 0.7935 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/0.5851, allocations: 95.58 kB / 0.7936 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.5852, allocations: 10.55 kB / 0.7936 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.5853, allocations: 14.64 kB / 0.7936 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.5853, allocations: 14.2 kB / 0.7936 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004544/0.5858, allocations: 391.7 kB / 0.794 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000584/0.5864, allocations: 0.5598 MB / 0.7945 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001429/0.5865, allocations: 81.17 kB / 0.7946 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.33e-05/0.5866, allocations: 117.3 kB / 0.7947 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of Backend: time 2.41e-07/0.5866, allocations: 0 / 0.7947 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.588, allocations: 0.5129 MB / 0.7952 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0005278/0.5885, allocations: 0.7424 MB / 0.7959 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.006988/0.5955, allocations: 3.538 MB / 0.7994 GB, free: 42.7 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.makefile (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)