Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.654/1.654, allocations: 288.3 MB / 303.2 MB, free: 8.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00154/0.00154, allocations: 187.4 kB / 371.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.4 MB / 0.6306 GB, free: 9.934 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 97.12 kB / 0.7439 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003844, allocations: 11.22 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2469, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.KalmanFilter): time 0.00207/0.249, allocations: 1.412 MB / 0.9808 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.2513, allocations: 1.733 MB / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.2514, allocations: 0 / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.2517, allocations: 27.78 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.2519, allocations: 23.91 kB / 0.9825 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009984/0.2529, allocations: 263.3 kB / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002844/0.2532, allocations: 135.7 kB / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.2534, allocations: 25.55 kB / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.2536, allocations: 71.75 kB / 0.983 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.2538, allocations: 63.67 kB / 0.9831 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.2538, allocations: 8 kB / 0.9831 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004554/0.2542, allocations: 199.7 kB / 0.9833 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.2544, allocations: 47.81 kB / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.77e-05/0.2545, allocations: 53.64 kB / 0.9834 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003852/0.2549, allocations: 263.8 kB / 0.9836 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2549, allocations: 0 / 0.9836 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.266e-06/0.2549, allocations: 0 / 0.9836 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.2549, allocations: 0 / 0.9836 GB, free: 23.38 MB / 0.6198 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.00104/0.256, allocations: 0.4988 MB / 0.9841 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.129e-05/0.2561, allocations: 8.031 kB / 0.9841 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.943e-05/0.2561, allocations: 19.77 kB / 0.9841 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.2565, allocations: 225.3 kB / 0.9844 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.2565, allocations: 12.17 kB / 0.9844 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.2565, allocations: 12 kB / 0.9844 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.2569, allocations: 158.7 kB / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2569, allocations: 0 / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.2569, allocations: 4 kB / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.2569, allocations: 0 / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.2572, allocations: 84.5 kB / 0.9846 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009434/0.2581, allocations: 444.8 kB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.2584, allocations: 154.5 kB / 0.9852 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.2585, allocations: 3.984 kB / 0.9852 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003316/0.2588, allocations: 174.7 kB / 0.9854 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.874e-06/0.2588, allocations: 3.938 kB / 0.9854 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0006158/0.2594, allocations: 318.1 kB / 0.9857 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.2595, allocations: 93.09 kB / 0.9857 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.2596, allocations: 170.8 kB / 0.9859 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.2597, allocations: 41.83 kB / 0.986 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.2597, allocations: 112.5 kB / 0.9861 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.2598, allocations: 51.34 kB / 0.9861 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/0.2598, allocations: 8 kB / 0.9861 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.783e-05/0.2599, allocations: 334.8 kB / 0.9864 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.26, allocations: 80.5 kB / 0.9865 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.2602, allocations: 177.9 kB / 0.9867 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.2604, allocations: 111.9 kB / 0.9868 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2604, allocations: 7.953 kB / 0.9868 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004044/0.2608, allocations: 301.5 kB / 0.9871 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2609, allocations: 8 kB / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2609, allocations: 0 / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.2609, allocations: 11.98 kB / 0.9871 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.2611, allocations: 43.86 kB / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.2611, allocations: 8 kB / 0.9872 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.2612, allocations: 27.73 kB / 0.9872 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.2612, allocations: 12 kB / 0.9872 GB, free: 19.45 MB / 0.6198 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.0001379/0.2614, allocations: 165.5 kB / 0.9873 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.2614, allocations: 19.77 kB / 0.9874 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.2614, allocations: 21.86 kB / 0.9874 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.2614, allocations: 4 kB / 0.9874 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2615, allocations: 0 / 0.9874 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2615, allocations: 0 / 0.9874 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007205/0.2622, allocations: 0.5881 MB / 0.988 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2622, allocations: 7.938 kB / 0.988 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.793e-05/0.2623, allocations: 12 kB / 0.988 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2624, allocations: 7.922 kB / 0.988 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.2624, allocations: 12 kB / 0.988 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2624, allocations: 0 / 0.988 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2624, allocations: 4 kB / 0.988 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005849/0.263, allocations: 460.4 kB / 0.9884 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.263, allocations: 92.89 kB / 0.9885 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.2631, allocations: 15.92 kB / 0.9885 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.2632, allocations: 19.98 kB / 0.9886 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.2633, allocations: 7.984 kB / 0.9886 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.2633, allocations: 16.05 kB / 0.9886 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.872e-05/0.2634, allocations: 119.2 kB / 0.9887 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2634, allocations: 0 / 0.9887 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004803/0.2639, allocations: 112 kB / 0.9888 GB, free: 17.69 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000888/0.2648, allocations: 435.9 kB / 0.9892 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003964/0.2652, allocations: 199.7 kB / 0.9894 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2652, allocations: 4.75 kB / 0.9894 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.2654, allocations: 98.17 kB / 0.9895 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.2656, allocations: 19.98 kB / 0.9895 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006974/0.2663, allocations: 411 kB / 0.9899 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.2665, allocations: 0.7359 MB / 0.9906 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001084/0.2666, allocations: 49.44 kB / 0.9907 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.2667, allocations: 23.38 kB / 0.9907 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.2667, allocations: 0 / 0.9907 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of Templates: time 0.006546/0.2732, allocations: 3.229 MB / 0.9939 GB, free: 12.57 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe 2>&1)