Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Examples_KalmanFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Examples_KalmanFilter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.243/1.243, allocations: 251.5 MB / 266.7 MB, free: 11.07 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.0008547/0.0008549, allocations: 176.9 kB / 325.8 MB, free: 2.727 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205 MB / 0.576 GB, free: 21 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.0007122/0.0007122, allocations: 95.62 kB / 0.6797 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002646/0.0002647, allocations: 9.062 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1437, allocations: 105.4 MB / 0.8962 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.001463/0.1452, allocations: 1.456 MB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001681/0.1469, allocations: 1.814 MB / 0.8994 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.368e-05/0.147, allocations: 7.938 kB / 0.8994 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.1471, allocations: 19.84 kB / 0.8994 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.671e-05/0.1472, allocations: 19.86 kB / 0.8994 GB, free: 64.79 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.0008362/0.148, allocations: 264.6 kB / 0.8997 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000157/0.1482, allocations: 179.5 kB / 0.8999 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.389e-05/0.1483, allocations: 25.53 kB / 0.8999 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.032e-05/0.1484, allocations: 67.7 kB / 0.9 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.554e-05/0.1484, allocations: 71.69 kB / 0.9 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.1485, allocations: 7.984 kB / 0.9 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.1488, allocations: 247.6 kB / 0.9003 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.889e-05/0.1489, allocations: 47.81 kB / 0.9003 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.1489, allocations: 59.59 kB / 0.9004 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.1492, allocations: 351.2 kB / 0.9007 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1492, allocations: 0 / 0.9007 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1492, allocations: 4 kB / 0.9007 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.1492, allocations: 0 / 0.9007 GB, free: 63.49 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.0005397/0.1498, allocations: 494.8 kB / 0.9012 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.1498, allocations: 12.03 kB / 0.9012 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.1498, allocations: 42.73 kB / 0.9012 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.1499, allocations: 20.73 kB / 0.9013 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.15, allocations: 226 kB / 0.9015 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1501, allocations: 12.36 kB / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.1501, allocations: 15.94 kB / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.1503, allocations: 148.6 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.1503, allocations: 0 / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1504, allocations: 0 / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.1504, allocations: 12 kB / 0.9017 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.1505, allocations: 79.94 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.1511, allocations: 408.5 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.1513, allocations: 158.6 kB / 0.9023 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.1515, allocations: 64.83 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.1515, allocations: 8 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.1517, allocations: 159.3 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/0.1517, allocations: 7.875 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004764/0.1522, allocations: 285.4 kB / 0.9028 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.1522, allocations: 101 kB / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.093e-05/0.1523, allocations: 166 kB / 0.903 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1523, allocations: 41.81 kB / 0.9031 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.1524, allocations: 104.6 kB / 0.9032 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.1524, allocations: 51.34 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.1525, allocations: 29.72 kB / 0.9032 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.033e-05/0.1525, allocations: 334.8 kB / 0.9036 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.1526, allocations: 67.95 kB / 0.9036 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.1528, allocations: 172.8 kB / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.153, allocations: 247.8 kB / 0.904 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.153, allocations: 0 / 0.904 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000341/0.1534, allocations: 277.1 kB / 0.9043 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.1534, allocations: 12.36 kB / 0.9043 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1534, allocations: 8 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.1534, allocations: 7.938 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.1536, allocations: 35.92 kB / 0.9044 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.1536, allocations: 7.938 kB / 0.9044 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.086e-05/0.1537, allocations: 27.77 kB / 0.9044 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.1537, allocations: 16 kB / 0.9044 GB, free: 59.37 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,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 8.691e-05/0.1538, allocations: 151.5 kB / 0.9045 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.1538, allocations: 15.81 kB / 0.9046 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.428e-05/0.1538, allocations: 25.89 kB / 0.9046 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1539, allocations: 4 kB / 0.9046 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1539, allocations: 3.938 kB / 0.9046 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1539, allocations: 0 / 0.9046 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005677/0.1544, allocations: 0.5633 MB / 0.9051 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1545, allocations: 0 / 0.9051 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.508e-05/0.1545, allocations: 15.98 kB / 0.9052 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1546, allocations: 7.938 kB / 0.9052 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.1546, allocations: 4 kB / 0.9052 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1546, allocations: 3.984 kB / 0.9052 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1546, allocations: 0 / 0.9052 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004655/0.1551, allocations: 419.9 kB / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.1551, allocations: 104.9 kB / 0.9057 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.1551, allocations: 11.98 kB / 0.9057 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.1552, allocations: 11.98 kB / 0.9057 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.1553, allocations: 11.98 kB / 0.9057 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.1553, allocations: 11.98 kB / 0.9057 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.1554, allocations: 120.9 kB / 0.9058 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1554, allocations: 0 / 0.9058 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003277/0.1557, allocations: 111.9 kB / 0.9059 GB, free: 57.7 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/0.1568, allocations: 1.277 MB / 0.9072 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002899/0.1571, allocations: 183.8 kB / 0.9074 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1571, allocations: 0 / 0.9074 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.1573, allocations: 82.12 kB / 0.9074 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.1576, allocations: 31.88 kB / 0.9075 GB, free: 56.21 MB / 0.6042 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/legal.html") at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.1594, allocations: 2.312 MB / 0.9097 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.1595, allocations: 0.7322 MB / 0.9104 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.608e-05/0.1596, allocations: 49.5 kB / 0.9105 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.1596, allocations: 43.42 kB / 0.9105 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.1596, allocations: 0 / 0.9105 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.506/0.6656, allocations: 4.905 MB / 0.9153 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/0.6659, allocations: 299.2 kB / 0.9156 GB, free: 47.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/2.382, allocations: 4 kB / 0.9156 GB, free: 47.72 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Examples_KalmanFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Examples_KalmanFilter.fmu > Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe 2>&1)