Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.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.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.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.893/1.893, allocations: 288.3 MB / 303.2 MB, free: 8.293 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.001198/0.001198, allocations: 177 kB / 371.8 MB, free: 10.27 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.734/1.734, allocations: 205.4 MB / 0.6306 GB, free: 9.965 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.001283/0.001283, allocations: 102.8 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003929/0.0003929, allocations: 15.12 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2595, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.001875/0.2614, allocations: 1.4 MB / 0.9808 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002133/0.2635, allocations: 1.698 MB / 0.9825 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.696e-05/0.2636, allocations: 7.938 kB / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.2638, allocations: 27.78 kB / 0.9825 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.2639, allocations: 19.95 kB / 0.9825 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000676/0.2646, allocations: 243.3 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.2648, allocations: 123.8 kB / 0.9829 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.2649, allocations: 21.84 kB / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.2651, allocations: 71.69 kB / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.046e-05/0.2652, allocations: 59.73 kB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.2652, allocations: 8 kB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.2655, allocations: 195.6 kB / 0.9832 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.863e-05/0.2656, allocations: 47.86 kB / 0.9832 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.435e-05/0.2657, allocations: 41.64 kB / 0.9833 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.2659, allocations: 251.5 kB / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.266, allocations: 0 / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.266, allocations: 8 kB / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.266, allocations: 0 / 0.9835 GB, free: 23.44 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007344/0.2667, allocations: 498.7 kB / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2668, allocations: 12.03 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/0.2668, allocations: 19.77 kB / 0.984 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.267, allocations: 210.8 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.267, allocations: 11.98 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.2671, allocations: 8 kB / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.2674, allocations: 144 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2674, allocations: 4 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.2674, allocations: 4 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.2674, allocations: 4 kB / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.2676, allocations: 89.92 kB / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000758/0.2684, allocations: 412.7 kB / 0.9849 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.2686, allocations: 154.6 kB / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.2687, allocations: 4 kB / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002932/0.269, allocations: 152.9 kB / 0.9852 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.269, allocations: 0 / 0.9852 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005555/0.2696, allocations: 303 kB / 0.9855 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.2696, allocations: 81.11 kB / 0.9855 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.2697, allocations: 173.1 kB / 0.9857 GB, free: 21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.2698, allocations: 33.7 kB / 0.9857 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.2698, allocations: 116.7 kB / 0.9859 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.2699, allocations: 55.38 kB / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-06/0.2699, allocations: 4 kB / 0.9859 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.124e-05/0.2699, allocations: 326.8 kB / 0.9862 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.2701, allocations: 75.94 kB / 0.9863 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.2702, allocations: 167.2 kB / 0.9865 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.2704, allocations: 95.94 kB / 0.9865 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2704, allocations: 0 / 0.9865 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003677/0.2708, allocations: 277 kB / 0.9868 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2708, allocations: 4.375 kB / 0.9868 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.2708, allocations: 8 kB / 0.9868 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.2708, allocations: 4 kB / 0.9868 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.271, allocations: 35.92 kB / 0.9869 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.271, allocations: 15.92 kB / 0.9869 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.788e-05/0.2711, allocations: 23.8 kB / 0.9869 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.2711, allocations: 12 kB / 0.9869 GB, free: 19.7 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: 21 ($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],$whenCondition2,kalFil.sampleTrigger,$PRE.ran.yR[1],ran.yR[1],$PRE.kalFil.uRWri[1],kalFil.uRWri[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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.2713, allocations: 151.5 kB / 0.9871 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.2713, allocations: 15.81 kB / 0.9871 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.803e-05/0.2714, allocations: 21.86 kB / 0.9871 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2714, allocations: 4 kB / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.2714, allocations: 0 / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.2714, allocations: 0 / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006855/0.2721, allocations: 0.5658 MB / 0.9876 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2721, allocations: 0 / 0.9876 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.315e-05/0.2722, allocations: 19.98 kB / 0.9877 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2722, allocations: 0 / 0.9877 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.2722, allocations: 7.984 kB / 0.9877 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2722, allocations: 0 / 0.9877 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2722, allocations: 3.953 kB / 0.9877 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005301/0.2728, allocations: 434.9 kB / 0.9881 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.2728, allocations: 96.94 kB / 0.9882 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.2729, allocations: 11.95 kB / 0.9882 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.273, allocations: 15.98 kB / 0.9882 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.2731, allocations: 16 kB / 0.9882 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.2731, allocations: 8 kB / 0.9882 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.523e-05/0.2732, allocations: 125.6 kB / 0.9884 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.41e-07/0.2732, allocations: 64 / 0.9884 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000447/0.2736, allocations: 111.8 kB / 0.9885 GB, free: 18.01 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: 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 (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.0007996/0.2744, allocations: 428 kB / 0.9889 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003592/0.2748, allocations: 183.7 kB / 0.989 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2748, allocations: 0 / 0.989 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.275, allocations: 84.7 kB / 0.9891 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.2752, allocations: 25.86 kB / 0.9892 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006487/0.2759, allocations: 395 kB / 0.9895 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.2761, allocations: 0.736 MB / 0.9902 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001001/0.2762, allocations: 45.5 kB / 0.9903 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.2762, allocations: 23.42 kB / 0.9903 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2762, allocations: 0 / 0.9903 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.006076/0.2823, allocations: 3.119 MB / 0.9934 GB, free: 13.05 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe 2>&1)