Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.345/2.345, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001413/0.001413, allocations: 179.6 kB / 326.3 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.348/2.348, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009324/0.000932, allocations: 93.23 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006228/0.000623, allocations: 10.58 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2069, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.002255/0.2092, allocations: 1.419 MB / 0.9009 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002994/0.2122, allocations: 1.702 MB / 0.9026 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.2124, allocations: 7.938 kB / 0.9026 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.2126, allocations: 27.86 kB / 0.9026 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.2128, allocations: 15.84 kB / 0.9026 GB, free: 62.33 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.0009944/0.2138, allocations: 239.5 kB / 0.9028 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.214, allocations: 167.5 kB / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.2142, allocations: 29.53 kB / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.2143, allocations: 63.77 kB / 0.9031 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.2144, allocations: 71.67 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.2145, allocations: 4 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00055/0.215, allocations: 231.6 kB / 0.9034 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.642e-05/0.2152, allocations: 39.89 kB / 0.9034 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.763e-05/0.2152, allocations: 41.64 kB / 0.9034 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.2156, allocations: 259.5 kB / 0.9037 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2156, allocations: 4 kB / 0.9037 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.495e-06/0.2156, allocations: 0 / 0.9037 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2157, allocations: 3.938 kB / 0.9037 GB, free: 61.19 MB / 0.6042 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.0008925/0.2166, allocations: 0.4912 MB / 0.9042 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2166, allocations: 8.031 kB / 0.9042 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.136e-05/0.2167, allocations: 16.75 kB / 0.9042 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.2169, allocations: 213.3 kB / 0.9044 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.217, allocations: 12.33 kB / 0.9044 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.217, allocations: 16.12 kB / 0.9044 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.2174, allocations: 145.3 kB / 0.9046 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2174, allocations: 4 kB / 0.9046 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.2175, allocations: 11.92 kB / 0.9046 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2175, allocations: 0 / 0.9046 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.2178, allocations: 75.95 kB / 0.9047 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.2188, allocations: 412.5 kB / 0.9051 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.2193, allocations: 154.6 kB / 0.9052 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.2195, allocations: 76.81 kB / 0.9053 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.2196, allocations: 3.984 kB / 0.9053 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003962/0.22, allocations: 162.6 kB / 0.9054 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.564e-06/0.22, allocations: 3.938 kB / 0.9054 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0009122/0.2209, allocations: 293.2 kB / 0.9057 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.221, allocations: 89.23 kB / 0.9058 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.2211, allocations: 164 kB / 0.906 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.2212, allocations: 37.64 kB / 0.906 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.956e-05/0.2213, allocations: 108.6 kB / 0.9061 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.085e-05/0.2213, allocations: 51.36 kB / 0.9061 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/0.2214, allocations: 4 kB / 0.9062 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.241e-05/0.2214, allocations: 334.8 kB / 0.9065 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.2217, allocations: 71.95 kB / 0.9065 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.222, allocations: 170.9 kB / 0.9067 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.2223, allocations: 99.92 kB / 0.9068 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.2223, allocations: 0 / 0.9068 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006974/0.223, allocations: 277.4 kB / 0.9071 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.223, allocations: 5.406 kB / 0.9071 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.223, allocations: 4 kB / 0.9071 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.2231, allocations: 4 kB / 0.9071 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.2233, allocations: 35.92 kB / 0.9071 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.2234, allocations: 7.984 kB / 0.9071 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.2236, allocations: 27.94 kB / 0.9071 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.2236, allocations: 12 kB / 0.9072 GB, free: 57.38 MB / 0.6042 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.0001818/0.2238, allocations: 151.5 kB / 0.9073 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.2238, allocations: 15.81 kB / 0.9073 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.055e-05/0.2239, allocations: 21.86 kB / 0.9073 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2239, allocations: 0 / 0.9073 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2239, allocations: 0 / 0.9073 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.224, allocations: 100.8 kB / 0.9074 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.262e-05/0.224, allocations: 15.94 kB / 0.9074 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.2242, allocations: 15.98 kB / 0.9075 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/0.2243, allocations: 19.91 kB / 0.9075 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007558/0.2251, allocations: 400 kB / 0.9079 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009897/0.2261, allocations: 0.5739 MB / 0.9084 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002425/0.2263, allocations: 71.95 kB / 0.9085 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.272e-05/0.2264, allocations: 118.8 kB / 0.9086 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of Backend: time 8.21e-07/0.2264, allocations: 4.062 kB / 0.9086 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001814/0.2283, allocations: 0.5129 MB / 0.9091 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0007773/0.2291, allocations: 0.7826 MB / 0.9099 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.009329/0.2384, allocations: 3.296 MB / 0.9131 GB, free: 51.3 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.makefile (rm -f Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; mkfifo Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe >> ../files/Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.sim & ./Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe 2>&1)