Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter") translateModel(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002603/0.002603, allocations: 194.7 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.801/2.801, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 64.42 kB / 0.9113 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3689, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter): time 0.003659/0.3726, allocations: 1.786 MB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002888/0.3755, allocations: 1.802 MB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.986e-05/0.3756, allocations: 0 / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.3758, allocations: 23.86 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.376, allocations: 23.78 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.3772, allocations: 268.9 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.3775, allocations: 207.4 kB / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3776, allocations: 25.55 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.3779, allocations: 71.69 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.378, allocations: 79.66 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.378, allocations: 4 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004921/0.3785, allocations: 255.6 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.3787, allocations: 59.8 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.813e-05/0.3788, allocations: 63.66 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006118/0.3794, allocations: 371.3 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3794, allocations: 0 / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3794, allocations: 0 / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.3794, allocations: 0 / 1.072 GB, free: 5.879 MB / 0.8262 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.0009377/0.3804, allocations: 0.5145 MB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3804, allocations: 12.03 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/0.3805, allocations: 24.69 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.3807, allocations: 232.7 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.3808, allocations: 20.28 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.3808, allocations: 8 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.3811, allocations: 156.7 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3812, allocations: 0 / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.3812, allocations: 4 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3812, allocations: 4 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.3814, allocations: 79.88 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008887/0.3823, allocations: 420.8 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.3826, allocations: 162.3 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.3828, allocations: 74.53 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.3828, allocations: 0 / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003168/0.3832, allocations: 161 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.323e-06/0.3832, allocations: 4 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0007101/0.3839, allocations: 307.1 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.384, allocations: 93.09 kB / 1.075 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.3841, allocations: 160.1 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.3843, allocations: 41.69 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.3843, allocations: 116.4 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.8e-05/0.3844, allocations: 59.47 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.762e-05/0.3845, allocations: 53.98 kB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3846, allocations: 342.7 kB / 1.075 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.3848, allocations: 76.5 kB / 1.075 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.3851, allocations: 181.9 kB / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004722/0.3855, allocations: 267.8 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3856, allocations: 0 / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005185/0.3861, allocations: 297.3 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3861, allocations: 12.03 kB / 1.076 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.3861, allocations: 0 / 1.076 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3861, allocations: 8 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.3863, allocations: 43.86 kB / 1.076 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.3863, allocations: 11.92 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.3865, allocations: 19.84 kB / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.3865, allocations: 12 kB / 1.076 GB, free: 1.641 MB / 0.8262 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 0.0001666/0.3867, allocations: 163.9 kB / 1.076 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.3867, allocations: 19.8 kB / 1.076 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.3868, allocations: 13.88 kB / 1.076 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.3868, allocations: 4 kB / 1.076 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3868, allocations: 0 / 1.076 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3868, allocations: 3.984 kB / 1.076 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009722/0.3878, allocations: 0.5858 MB / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3878, allocations: 0 / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.3879, allocations: 15.98 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3879, allocations: 3.984 kB / 1.077 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.3879, allocations: 11.98 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3879, allocations: 7.875 kB / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3879, allocations: 4 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007226/0.3887, allocations: 431.2 kB / 1.077 GB, free: 316 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.3887, allocations: 100.9 kB / 1.078 GB, free: 196 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.191e-05/0.3888, allocations: 7.938 kB / 1.078 GB, free: 188 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.389, allocations: 11.98 kB / 1.078 GB, free: 176 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.389, allocations: 15.97 kB / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.389, allocations: 16.06 kB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.997e-05/0.3891, allocations: 128.3 kB / 1.078 GB, free: 16 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3891, allocations: 0 / 1.078 GB, free: 16 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004802/0.3896, allocations: 111.9 kB / 1.078 GB, free: 15.91 MB / 0.8419 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: 15 (kalFil.sampleTrigger,ran.sampleTrigger,$whenCondition2,$whenCondition1,ran.firstTrigger,ran.yR[1],ran.uRIntPre[1],ran.uRWri[1],ran.uRWri_temp[1],kalFil.firstTrigger,kalFil.yR[1],kalFil.uRIntPre[1],kalFil.uRWri[1],kalFil.uRWri_temp[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 (20): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0008719/0.3905, allocations: 443.4 kB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004448/0.391, allocations: 208.2 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.391, allocations: 0 / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.3912, allocations: 79.89 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.3915, allocations: 29.81 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008903/0.3924, allocations: 408.7 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.3929, allocations: 0.7284 MB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.393, allocations: 49.44 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.3931, allocations: 19.44 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of SimCode: time 4.31e-07/0.3931, allocations: 4 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of Templates: time 0.007988/0.4011, allocations: 3.309 MB / 1.083 GB, free: 10.71 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.makefile (rm -f Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe >> ../files/Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.sim & ./Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe 2>&1)