Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.216/2.216, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.001295/0.001295, allocations: 183.8 kB / 326.3 MB, free: 2.836 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.292/2.292, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.0009227/0.0009221, allocations: 90.36 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000641/0.0006412, allocations: 11.56 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2033, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.KalmanFilter): time 0.002175/0.2055, allocations: 1.423 MB / 0.9009 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002937/0.2085, allocations: 1.737 MB / 0.9026 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.2086, allocations: 3.938 kB / 0.9026 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.2088, allocations: 23.84 kB / 0.9026 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.2089, allocations: 19.86 kB / 0.9026 GB, free: 62.26 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Utilities/IO/Python36/Functions/exchange.mo:2:1-113:13:writable] Warning: Pure function ‘Buildings.Utilities.IO.Python36.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.2101, allocations: 263.4 kB / 0.9029 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003216/0.2104, allocations: 183.5 kB / 0.9031 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.2105, allocations: 29.5 kB / 0.9031 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.2107, allocations: 71.73 kB / 0.9032 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.2108, allocations: 67.67 kB / 0.9032 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.2109, allocations: 8 kB / 0.9032 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006036/0.2115, allocations: 227.6 kB / 0.9034 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.2116, allocations: 51.86 kB / 0.9035 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.932e-05/0.2117, allocations: 49.64 kB / 0.9035 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004328/0.2122, allocations: 255.5 kB / 0.9038 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2122, allocations: 7.938 kB / 0.9038 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2122, allocations: 0 / 0.9038 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2122, allocations: 0 / 0.9038 GB, free: 61.06 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0009559/0.2132, allocations: 0.4993 MB / 0.9043 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.2132, allocations: 8.031 kB / 0.9043 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.104e-05/0.2133, allocations: 16.75 kB / 0.9043 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.2136, allocations: 216.9 kB / 0.9045 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.2136, allocations: 16.31 kB / 0.9045 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.157e-05/0.2137, allocations: 19.89 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004141/0.2141, allocations: 156.8 kB / 0.9047 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.2141, allocations: 3.984 kB / 0.9047 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.2141, allocations: 7.938 kB / 0.9047 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2142, allocations: 0 / 0.9047 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.2145, allocations: 91.88 kB / 0.9048 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.2157, allocations: 428.7 kB / 0.9052 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004246/0.2161, allocations: 158.4 kB / 0.9054 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.2163, allocations: 76.81 kB / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.2164, allocations: 7.922 kB / 0.9054 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004198/0.2168, allocations: 173 kB / 0.9056 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 2.915e-06/0.2168, allocations: 0 / 0.9056 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.0009694/0.2178, allocations: 319.7 kB / 0.9059 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.2179, allocations: 97.09 kB / 0.906 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.218, allocations: 170.8 kB / 0.9062 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.2181, allocations: 41.69 kB / 0.9062 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.2182, allocations: 112.5 kB / 0.9063 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.585e-05/0.2183, allocations: 59.28 kB / 0.9064 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.518e-05/0.2183, allocations: 4 kB / 0.9064 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.2184, allocations: 334.8 kB / 0.9067 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.2186, allocations: 80.52 kB / 0.9068 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.2189, allocations: 181.9 kB / 0.9069 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.2193, allocations: 111.9 kB / 0.907 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2193, allocations: 0 / 0.907 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007179/0.22, allocations: 301.1 kB / 0.9073 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.22, allocations: 8 kB / 0.9073 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2201, allocations: 4 kB / 0.9073 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.2201, allocations: 4 kB / 0.9073 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.2204, allocations: 39.92 kB / 0.9074 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.2204, allocations: 12.2 kB / 0.9074 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.2206, allocations: 23.84 kB / 0.9074 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.2206, allocations: 16 kB / 0.9074 GB, free: 57.05 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: 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.0001692/0.2208, allocations: 159.9 kB / 0.9076 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.2208, allocations: 15.81 kB / 0.9076 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.349e-05/0.2209, allocations: 17.88 kB / 0.9076 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.2209, allocations: 11.98 kB / 0.9076 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2209, allocations: 0 / 0.9076 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.221, allocations: 96.86 kB / 0.9077 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.524e-05/0.2211, allocations: 15.86 kB / 0.9077 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.2212, allocations: 20.08 kB / 0.9078 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.2213, allocations: 11.92 kB / 0.9078 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007977/0.2221, allocations: 421.4 kB / 0.9082 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001071/0.2232, allocations: 0.606 MB / 0.9088 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002614/0.2235, allocations: 88.03 kB / 0.9088 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.739e-05/0.2236, allocations: 119.2 kB / 0.909 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of Backend: time 9.12e-07/0.2236, allocations: 0 / 0.909 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001878/0.2255, allocations: 0.5139 MB / 0.9095 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of SimCode: time 0.000812/0.2263, allocations: 0.8047 MB / 0.9102 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of Templates: time 0.009415/0.2358, allocations: 3.409 MB / 0.9136 GB, free: 50.77 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.sim & ./Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe 2>&1)