Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, 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.001373/0.001373, allocations: 197.7 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.1 MB / 222 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.781/1.781, allocations: 292.2 MB / 0.5484 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00146/0.001461, allocations: 59.56 kB / 0.6708 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3125, allocations: 114.6 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002579/0.3152, allocations: 0.6997 MB / 0.7834 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004477/0.3157, allocations: 112.6 kB / 0.7835 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.865e-05/0.3157, allocations: 4 kB / 0.7835 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.3158, allocations: 7.938 kB / 0.7835 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.3162, allocations: 15.98 kB / 0.7835 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.019e-05/0.3163, allocations: 7.984 kB / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.657e-05/0.3164, allocations: 31.86 kB / 0.7835 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.3165, allocations: 27.97 kB / 0.7836 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.3166, allocations: 43.97 kB / 0.7836 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.3167, allocations: 15.92 kB / 0.7836 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.3167, allocations: 4 kB / 0.7836 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.376e-06/0.3167, allocations: 4 kB / 0.7836 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.748e-05/0.3168, allocations: 23.92 kB / 0.7836 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.3168, allocations: 19.86 kB / 0.7837 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.45e-05/0.3169, allocations: 43.81 kB / 0.7837 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3169, allocations: 0 / 0.7837 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.616e-06/0.3169, allocations: 0 / 0.7837 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.3169, allocations: 3.938 kB / 0.7837 GB, free: 12.95 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003951/0.3173, allocations: 347.6 kB / 0.784 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3174, allocations: 8.031 kB / 0.7841 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.3174, allocations: 12.84 kB / 0.7841 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.3176, allocations: 180.4 kB / 0.7842 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.3176, allocations: 384 / 0.7842 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.3177, allocations: 4.375 kB / 0.7842 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.3178, allocations: 80.75 kB / 0.7843 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3179, allocations: 4.125 kB / 0.7843 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.3179, allocations: 7.938 kB / 0.7843 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3179, allocations: 0 / 0.7843 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.773e-05/0.318, allocations: 23.98 kB / 0.7844 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.3185, allocations: 0.6127 MB / 0.785 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.999e-05/0.3186, allocations: 169.1 kB / 0.7851 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/0.3187, allocations: 84.14 kB / 0.7852 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.3187, allocations: 75.28 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.3187, allocations: 109.8 kB / 0.7854 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.3188, allocations: 0 / 0.7854 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.991e-05/0.3188, allocations: 37.59 kB / 0.7854 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.3189, allocations: 126.7 kB / 0.7855 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.3191, allocations: 160.5 kB / 0.7857 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.3191, allocations: 25.7 kB / 0.7857 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.57e-05/0.3192, allocations: 96.12 kB / 0.7858 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-06/0.3192, allocations: 0 / 0.7858 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.3192, allocations: 17.66 kB / 0.7858 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3193, allocations: 318.8 kB / 0.7861 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.728e-06/0.3193, allocations: 4 kB / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.261e-05/0.3194, allocations: 5.047 kB / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.034e-05/0.3194, allocations: 75.28 kB / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.517e-05/0.3194, allocations: 79.31 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.805e-05/0.3195, allocations: 37.61 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.811e-05/0.3196, allocations: 79.28 kB / 0.7864 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.917e-05/0.3196, allocations: 79.22 kB / 0.7865 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.925e-05/0.3197, allocations: 154.6 kB / 0.7866 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.201e-05/0.3197, allocations: 79.28 kB / 0.7867 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.4e-05/0.3198, allocations: 162.5 kB / 0.7868 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.3199, allocations: 79.22 kB / 0.7869 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.32, allocations: 83.22 kB / 0.787 GB, free: 9.336 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001359/0.3201, allocations: 269 kB / 0.7872 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-05/0.3202, allocations: 113.1 kB / 0.7874 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.757e-05/0.3203, allocations: 112.9 kB / 0.7875 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.938e-05/0.3203, allocations: 188.3 kB / 0.7876 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.834e-05/0.3204, allocations: 184.2 kB / 0.7878 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.956e-05/0.3205, allocations: 188.1 kB / 0.788 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.3207, allocations: 417.2 kB / 0.7884 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-05/0.3208, allocations: 101 kB / 0.7885 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.192e-05/0.3208, allocations: 112.9 kB / 0.7886 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.187e-05/0.3209, allocations: 176.3 kB / 0.7888 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.967e-05/0.3209, allocations: 188.1 kB / 0.7889 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.38e-05/0.321, allocations: 180.2 kB / 0.7891 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-05/0.3211, allocations: 184.1 kB / 0.7893 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.3212, allocations: 311.8 kB / 0.7896 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.388e-05/0.3213, allocations: 189.9 kB / 0.7898 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.315e-05/0.3214, allocations: 184.3 kB / 0.79 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/0.3215, allocations: 104.9 kB / 0.7901 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.3216, allocations: 176.3 kB / 0.7902 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/0.3216, allocations: 112.9 kB / 0.7903 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.135e-05/0.3217, allocations: 123.2 kB / 0.7904 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3217, allocations: 0 / 0.7904 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002515/0.322, allocations: 0 / 0.7904 GB, free: 5.57 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001777/0.3222, allocations: 182.5 kB / 0.7906 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.399e-05/0.3222, allocations: 0 / 0.7906 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3222, allocations: 0 / 0.7906 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.3222, allocations: 4 kB / 0.7906 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.3227, allocations: 0.5253 MB / 0.7911 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003177/0.323, allocations: 217.9 kB / 0.7913 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.3234, allocations: 0.6926 MB / 0.792 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.399e-05/0.3234, allocations: 7.984 kB / 0.792 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.3235, allocations: 11.38 kB / 0.792 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.3235, allocations: 0 / 0.792 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of Templates: time 0.002734/0.3262, allocations: 412.9 kB / 0.7924 GB, free: 3.477 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1)