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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009992/0.0009992, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001088/0.001088, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.4 MB / 222.1 MB, free: 5.625 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.734/1.734, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0008811/0.000881, allocations: 10.06 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2811, allocations: 116.3 MB / 0.7874 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001158/0.2824, allocations: 361.6 kB / 0.7878 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005054/0.2829, allocations: 116.6 kB / 0.7879 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.283, allocations: 0 / 0.7879 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.2831, allocations: 0 / 0.7879 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003935/0.2835, allocations: 23.92 kB / 0.7879 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.351e-05/0.2836, allocations: 3.984 kB / 0.7879 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.262e-05/0.2837, allocations: 31.92 kB / 0.7879 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.2838, allocations: 23.97 kB / 0.788 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.284, allocations: 43.91 kB / 0.788 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.519e-05/0.2841, allocations: 15.92 kB / 0.788 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.2841, allocations: 0 / 0.788 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.604e-06/0.2841, allocations: 0 / 0.788 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.2841, allocations: 19.98 kB / 0.788 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.2842, allocations: 33.64 kB / 0.7881 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.278e-05/0.2843, allocations: 39.92 kB / 0.7881 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2843, allocations: 0 / 0.7881 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2843, allocations: 0 / 0.7881 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.361e-06/0.2843, allocations: 0 / 0.7881 GB, free: 11.1 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.0003582/0.2847, allocations: 347.3 kB / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.2847, allocations: 8.031 kB / 0.7884 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.234e-05/0.2848, allocations: 34.56 kB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.2848, allocations: 0 / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.285, allocations: 194.9 kB / 0.7887 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.285, allocations: 0 / 0.7887 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.285, allocations: 7.984 kB / 0.7887 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.2852, allocations: 76.25 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2852, allocations: 0 / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.2852, allocations: 0 / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.2852, allocations: 4 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.931e-05/0.2853, allocations: 23.92 kB / 0.7888 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.2858, allocations: 0.6051 MB / 0.7894 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.507e-05/0.2859, allocations: 165.1 kB / 0.7895 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.187e-05/0.286, allocations: 88.14 kB / 0.7896 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.286, allocations: 75.28 kB / 0.7897 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.549e-05/0.2861, allocations: 113.8 kB / 0.7898 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 3.046e-06/0.2861, allocations: 0 / 0.7898 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 9.941e-05/0.2862, allocations: 41.5 kB / 0.7898 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.2863, allocations: 130.7 kB / 0.7899 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.2864, allocations: 156.8 kB / 0.7901 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.2865, allocations: 29.7 kB / 0.7901 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.2865, allocations: 92.14 kB / 0.7902 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.2865, allocations: 3.938 kB / 0.7902 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.2866, allocations: 0 / 0.7902 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2867, allocations: 318.8 kB / 0.7905 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.037e-06/0.2867, allocations: 0 / 0.7905 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.098e-05/0.2868, allocations: 4 kB / 0.7905 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.969e-05/0.2868, allocations: 75.28 kB / 0.7906 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.068e-05/0.2868, allocations: 79.31 kB / 0.7907 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.025e-05/0.2869, allocations: 46.59 kB / 0.7907 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.097e-05/0.287, allocations: 79.28 kB / 0.7908 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.589e-05/0.287, allocations: 75.28 kB / 0.7909 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.472e-05/0.2871, allocations: 154.5 kB / 0.791 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.366e-05/0.2872, allocations: 87.23 kB / 0.7911 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.195e-05/0.2872, allocations: 150.6 kB / 0.7912 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.2874, allocations: 83.22 kB / 0.7913 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.2874, allocations: 83.27 kB / 0.7914 GB, free: 7.469 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.2876, allocations: 268.3 kB / 0.7916 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.2876, allocations: 116.8 kB / 0.7918 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.239e-05/0.2877, allocations: 108.9 kB / 0.7919 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.503e-05/0.2878, allocations: 184.5 kB / 0.792 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.329e-05/0.2879, allocations: 188.2 kB / 0.7922 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.261e-05/0.288, allocations: 188.3 kB / 0.7924 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.2882, allocations: 417.2 kB / 0.7928 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.204e-05/0.2883, allocations: 105 kB / 0.7929 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.597e-05/0.2883, allocations: 104.9 kB / 0.793 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.79e-05/0.2884, allocations: 180.3 kB / 0.7932 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.245e-05/0.2885, allocations: 180.3 kB / 0.7933 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.683e-05/0.2885, allocations: 180.2 kB / 0.7935 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.358e-05/0.2886, allocations: 176.3 kB / 0.7937 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.2888, allocations: 323.6 kB / 0.794 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.079e-05/0.2889, allocations: 178.1 kB / 0.7942 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.999e-05/0.289, allocations: 192.2 kB / 0.7943 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.993e-05/0.2891, allocations: 101 kB / 0.7944 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.151e-05/0.2892, allocations: 180.2 kB / 0.7946 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/0.2892, allocations: 105 kB / 0.7947 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001011/0.2893, allocations: 119.2 kB / 0.7948 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.784e-06/0.2893, allocations: 0 / 0.7948 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002937/0.2896, allocations: 11.89 kB / 0.7948 GB, free: 3.711 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 (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.000439/0.2901, allocations: 0.8164 MB / 0.7956 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.736e-05/0.2901, allocations: 4 kB / 0.7956 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2901, allocations: 0 / 0.7956 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.817e-06/0.2901, allocations: 4 kB / 0.7956 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.2905, allocations: 0.5216 MB / 0.7961 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000868/0.2914, allocations: 0.7121 MB / 0.7968 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.2917, allocations: 0.6887 MB / 0.7975 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.893e-05/0.2917, allocations: 0 / 0.7975 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.2918, allocations: 23.42 kB / 0.7975 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.2918, allocations: 4 kB / 0.7975 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/0.3046, allocations: 1.366 MB / 0.7989 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.3048, allocations: 195.3 kB / 0.7991 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.099, allocations: 4 kB / 0.7991 GB, free: 15.38 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) Environment - environmentSimulation: