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: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.317/1.317, allocations: 251.5 MB / 267.4 MB, free: 11.08 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.0009105/0.0009106, allocations: 188.2 kB / 326.5 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.379/1.379, allocations: 205 MB / 0.5767 GB, free: 21.03 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.0007589/0.000759, allocations: 83.98 kB / 0.6804 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002914, allocations: 10.28 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1568, allocations: 105.4 MB / 0.8968 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.001577/0.1584, allocations: 1.456 MB / 0.8982 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.1603, allocations: 1.81 MB / 0.8999 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.992e-05/0.1604, allocations: 11.94 kB / 0.9 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.1605, allocations: 15.86 kB / 0.9 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.979e-05/0.1606, allocations: 23.84 kB / 0.9 GB, free: 64.89 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.0009792/0.1616, allocations: 262 kB / 0.9002 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.1618, allocations: 179.5 kB / 0.9004 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.837e-05/0.1619, allocations: 25.56 kB / 0.9004 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.162, allocations: 71.69 kB / 0.9005 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/0.1621, allocations: 67.67 kB / 0.9006 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.1621, allocations: 4 kB / 0.9006 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000328/0.1625, allocations: 251.6 kB / 0.9008 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.985e-05/0.1626, allocations: 47.83 kB / 0.9009 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.13e-05/0.1626, allocations: 59.66 kB / 0.9009 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.1629, allocations: 351.1 kB / 0.9013 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1629, allocations: 0 / 0.9013 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 8.22e-07/0.163, allocations: 0 / 0.9013 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.163, allocations: 0 / 0.9013 GB, free: 63.59 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.0005877/0.1636, allocations: 498.8 kB / 0.9017 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.1636, allocations: 8.031 kB / 0.9017 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.1636, allocations: 16.75 kB / 0.9018 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.1638, allocations: 231.9 kB / 0.902 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1638, allocations: 8.359 kB / 0.902 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.1639, allocations: 16.12 kB / 0.902 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.1641, allocations: 147.3 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1641, allocations: 0 / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1641, allocations: 8 kB / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1641, allocations: 0 / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.1643, allocations: 83.88 kB / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006133/0.1649, allocations: 408.6 kB / 0.9026 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.1652, allocations: 158.5 kB / 0.9028 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.1653, allocations: 72.81 kB / 0.9028 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.1653, allocations: 4 kB / 0.9028 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.1656, allocations: 163.5 kB / 0.903 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.1656, allocations: 0 / 0.903 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005164/0.1661, allocations: 293.2 kB / 0.9033 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.1661, allocations: 89.22 kB / 0.9034 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.353e-05/0.1662, allocations: 170.1 kB / 0.9035 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1663, allocations: 33.7 kB / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.1663, allocations: 108.6 kB / 0.9037 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.1663, allocations: 47.36 kB / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.1664, allocations: 29.7 kB / 0.9037 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.556e-05/0.1664, allocations: 334.8 kB / 0.904 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.1666, allocations: 71.95 kB / 0.9041 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.1667, allocations: 180.7 kB / 0.9043 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.167, allocations: 255.8 kB / 0.9045 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.167, allocations: 0 / 0.9045 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003635/0.1674, allocations: 277.4 kB / 0.9048 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1674, allocations: 4 kB / 0.9048 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1674, allocations: 4 kB / 0.9048 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1674, allocations: 7.984 kB / 0.9048 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.1675, allocations: 43.86 kB / 0.9049 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1676, allocations: 8 kB / 0.9049 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.79e-05/0.1677, allocations: 27.77 kB / 0.9049 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1677, allocations: 12.06 kB / 0.9049 GB, free: 59.52 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 9.596e-05/0.1678, allocations: 152.1 kB / 0.905 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.1678, allocations: 15.81 kB / 0.9051 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.721e-05/0.1679, allocations: 21.86 kB / 0.9051 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1679, allocations: 0 / 0.9051 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1679, allocations: 0 / 0.9051 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.1679, allocations: 92.86 kB / 0.9052 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.1679, allocations: 15.98 kB / 0.9052 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.807e-05/0.168, allocations: 15.98 kB / 0.9052 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.1681, allocations: 11.98 kB / 0.9052 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004047/0.1685, allocations: 406.1 kB / 0.9056 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005227/0.169, allocations: 0.5728 MB / 0.9062 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001306/0.1692, allocations: 85.69 kB / 0.9062 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.205e-05/0.1692, allocations: 112.9 kB / 0.9063 GB, free: 58 MB / 0.6042 GB Notification: Performance of Backend: time 2.9e-07/0.1692, allocations: 4.062 kB / 0.9064 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001183/0.1704, allocations: 0.5158 MB / 0.9069 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004761/0.1709, allocations: 0.7822 MB / 0.9076 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.005397/0.1763, allocations: 3.359 MB / 0.9109 GB, free: 53.4 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe 2>&1)