Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter") translateModel(Buildings.Utilities.IO.Python36.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.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.24/1.24, allocations: 251.5 MB / 267.4 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.001044/0.001044, allocations: 180 kB / 326.5 MB, free: 2.703 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.362/1.362, allocations: 205 MB / 0.5767 GB, free: 21.04 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.0006516/0.0006515, allocations: 91.86 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002641/0.0002642, allocations: 11.47 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1401, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.KalmanFilter): time 0.001544/0.1417, allocations: 1.463 MB / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.1435, allocations: 1.849 MB / 0.9 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.842e-05/0.1435, allocations: 7.875 kB / 0.9 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.1437, allocations: 23.86 kB / 0.9 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.343e-05/0.1438, allocations: 23.84 kB / 0.9 GB, free: 64.82 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.0008794/0.1446, allocations: 276 kB / 0.9003 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.1448, allocations: 203.4 kB / 0.9005 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.737e-05/0.1449, allocations: 25.55 kB / 0.9005 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.317e-05/0.145, allocations: 83.69 kB / 0.9006 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.819e-05/0.1451, allocations: 71.66 kB / 0.9007 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.1451, allocations: 7.938 kB / 0.9007 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.1454, allocations: 243.7 kB / 0.9009 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.192e-05/0.1455, allocations: 55.8 kB / 0.901 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.919e-05/0.1455, allocations: 63.59 kB / 0.901 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.1458, allocations: 355.1 kB / 0.9014 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1458, allocations: 7.938 kB / 0.9014 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1458, allocations: 0 / 0.9014 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.1458, allocations: 4 kB / 0.9014 GB, free: 63.45 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.0005719/0.1464, allocations: 499 kB / 0.9018 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.1465, allocations: 8.031 kB / 0.9018 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.1465, allocations: 28.75 kB / 0.9019 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.1467, allocations: 220.7 kB / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.1467, allocations: 16.3 kB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.1467, allocations: 16 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.147, allocations: 155.2 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.147, allocations: 0 / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.147, allocations: 4 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.147, allocations: 4 kB / 0.9023 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.1472, allocations: 87.88 kB / 0.9024 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006404/0.1479, allocations: 444.6 kB / 0.9028 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.1481, allocations: 150.5 kB / 0.9029 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.1482, allocations: 76.81 kB / 0.903 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.1482, allocations: 0 / 0.903 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.1485, allocations: 173 kB / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.963e-06/0.1485, allocations: 7.922 kB / 0.9032 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.0005095/0.149, allocations: 324.7 kB / 0.9035 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.149, allocations: 89.03 kB / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.939e-05/0.1491, allocations: 174.9 kB / 0.9037 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.1492, allocations: 49.69 kB / 0.9038 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.1492, allocations: 108.5 kB / 0.9039 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.1492, allocations: 59.34 kB / 0.9039 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.1493, allocations: 29.7 kB / 0.904 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.252e-05/0.1493, allocations: 338.8 kB / 0.9043 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.1494, allocations: 76.52 kB / 0.9044 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.1496, allocations: 185.9 kB / 0.9045 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.1499, allocations: 271.8 kB / 0.9048 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1499, allocations: 4 kB / 0.9048 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003695/0.1503, allocations: 305.3 kB / 0.9051 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.1503, allocations: 11.98 kB / 0.9051 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1503, allocations: 4 kB / 0.9051 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1503, allocations: 4 kB / 0.9051 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.1505, allocations: 43.92 kB / 0.9052 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1505, allocations: 4 kB / 0.9052 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.463e-05/0.1506, allocations: 27.83 kB / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.1506, allocations: 8 kB / 0.9052 GB, free: 59.2 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,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_temp[1],$PRE.ran.uRWri_temp[1],ran.uRWri[1],$PRE.ran.uRWri[1],kalFil.sampleTrigger,$whenCondition2,kalFil.uRWri_temp[1],$PRE.kalFil.uRWri_temp[1],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 (34): * Single equations (assignments): 34 * 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.417e-05/0.1507, allocations: 160 kB / 0.9053 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.1507, allocations: 19.81 kB / 0.9054 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.1508, allocations: 21.86 kB / 0.9054 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1508, allocations: 0 / 0.9054 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1508, allocations: 0 / 0.9054 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.1508, allocations: 96.84 kB / 0.9055 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.1508, allocations: 15.88 kB / 0.9055 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.505e-05/0.1509, allocations: 20.05 kB / 0.9055 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.151, allocations: 23.97 kB / 0.9055 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004019/0.1514, allocations: 419.9 kB / 0.9059 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000532/0.1519, allocations: 0.6047 MB / 0.9065 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001297/0.1521, allocations: 89.97 kB / 0.9066 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.989e-05/0.1521, allocations: 119.2 kB / 0.9067 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of Backend: time 3.71e-07/0.1521, allocations: 0 / 0.9067 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.1532, allocations: 0.5137 MB / 0.9072 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004585/0.1537, allocations: 0.8058 MB / 0.908 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of Templates: time 0.004983/0.1587, allocations: 3.484 MB / 0.9114 GB, free: 52.84 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe 2>&1)