Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.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.IntegerVectorFilter,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",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.001277/0.001277, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001148/0.001148, allocations: 177.3 kB / 15.94 MB, free: 228 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.635/1.635, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.847/1.847, allocations: 292.6 MB / 0.5497 GB, free: 14.63 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.0008105/0.0008108, allocations: 17.97 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2264, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.0007832/0.2272, allocations: 324.2 kB / 0.7875 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003204/0.2276, allocations: 110.3 kB / 0.7877 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.645e-05/0.2276, allocations: 3.938 kB / 0.7877 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.336e-05/0.2277, allocations: 0 / 0.7877 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.228, allocations: 23.95 kB / 0.7877 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.36e-05/0.2281, allocations: 11.94 kB / 0.7877 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.919e-05/0.2281, allocations: 15.98 kB / 0.7877 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.2282, allocations: 19.94 kB / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.2284, allocations: 51.88 kB / 0.7878 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.31e-05/0.2284, allocations: 7.938 kB / 0.7878 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.2284, allocations: 4 kB / 0.7878 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.512e-06/0.2285, allocations: 0 / 0.7878 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.426e-05/0.2285, allocations: 11.98 kB / 0.7878 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.2285, allocations: 33.64 kB / 0.7878 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.353e-05/0.2286, allocations: 35.94 kB / 0.7879 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.2286, allocations: 4 kB / 0.7879 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.542e-06/0.2286, allocations: 0 / 0.7879 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2286, allocations: 0 / 0.7879 GB, free: 11.23 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.0002916/0.2289, allocations: 343.4 kB / 0.7882 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.229, allocations: 12.03 kB / 0.7882 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.064e-05/0.229, allocations: 30.56 kB / 0.7882 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.392e-05/0.229, allocations: 4 kB / 0.7882 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.2292, allocations: 194.8 kB / 0.7884 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.2292, allocations: 4 kB / 0.7884 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.2292, allocations: 8 kB / 0.7884 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.2294, allocations: 76.19 kB / 0.7885 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2294, allocations: 3.984 kB / 0.7885 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.2294, allocations: 4 kB / 0.7885 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2294, allocations: 0 / 0.7885 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.372e-05/0.2295, allocations: 31.91 kB / 0.7885 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.2299, allocations: 0.5973 MB / 0.7891 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.002e-05/0.23, allocations: 173 kB / 0.7893 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.23, allocations: 79.28 kB / 0.7894 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/0.23, allocations: 109.8 kB / 0.7895 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.23, allocations: 0 / 0.7895 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.121e-05/0.2301, allocations: 37.59 kB / 0.7895 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.2302, allocations: 134.6 kB / 0.7896 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.2303, allocations: 160.6 kB / 0.7898 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.2303, allocations: 25.7 kB / 0.7898 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.2304, allocations: 92.14 kB / 0.7899 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.362e-06/0.2304, allocations: 0 / 0.7899 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.2304, allocations: 0 / 0.7899 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.2306, allocations: 326.8 kB / 0.7902 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.885e-06/0.2306, allocations: 0 / 0.7902 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.726e-05/0.2306, allocations: 0 / 0.7902 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.38e-05/0.2307, allocations: 79.28 kB / 0.7903 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-05/0.2307, allocations: 75.28 kB / 0.7904 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.971e-05/0.2308, allocations: 33.61 kB / 0.7904 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.2308, allocations: 79.28 kB / 0.7905 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.756e-05/0.2309, allocations: 88.3 kB / 0.7906 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.808e-05/0.2309, allocations: 166.5 kB / 0.7907 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.716e-05/0.231, allocations: 79.22 kB / 0.7908 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.1e-05/0.2311, allocations: 150.6 kB / 0.7909 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.2312, allocations: 79.28 kB / 0.791 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.2312, allocations: 79.22 kB / 0.7911 GB, free: 7.684 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.0001343/0.2314, allocations: 272.4 kB / 0.7913 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-05/0.2314, allocations: 108.9 kB / 0.7914 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.769e-05/0.2315, allocations: 120.8 kB / 0.7916 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-05/0.2316, allocations: 184.2 kB / 0.7917 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.133e-05/0.2317, allocations: 180.5 kB / 0.7919 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.422e-05/0.2318, allocations: 188.2 kB / 0.7921 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.2321, allocations: 417.2 kB / 0.7925 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-05/0.2321, allocations: 104.9 kB / 0.7926 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.2322, allocations: 109 kB / 0.7927 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.537e-05/0.2322, allocations: 176.3 kB / 0.7929 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.635e-05/0.2323, allocations: 184.2 kB / 0.793 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.668e-05/0.2324, allocations: 180.3 kB / 0.7932 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.84e-05/0.2325, allocations: 188.2 kB / 0.7934 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.2326, allocations: 307.7 kB / 0.7937 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.925e-05/0.2327, allocations: 186.1 kB / 0.7939 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.533e-05/0.2328, allocations: 184.3 kB / 0.794 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.791e-05/0.2329, allocations: 104.9 kB / 0.7941 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.233, allocations: 180.3 kB / 0.7943 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/0.233, allocations: 120.8 kB / 0.7944 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.937e-05/0.2331, allocations: 119.2 kB / 0.7945 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2331, allocations: 0 / 0.7945 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002783/0.2334, allocations: 4 kB / 0.7945 GB, free: 3.914 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.0004349/0.2338, allocations: 0.8087 MB / 0.7953 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.256e-05/0.2339, allocations: 4 kB / 0.7953 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2339, allocations: 0 / 0.7953 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-06/0.2339, allocations: 3.938 kB / 0.7953 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.2342, allocations: 0.5224 MB / 0.7958 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008305/0.235, allocations: 0.7036 MB / 0.7965 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.2354, allocations: 0.6887 MB / 0.7972 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.135e-05/0.2354, allocations: 7.984 kB / 0.7972 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.2355, allocations: 15.44 kB / 0.7972 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2355, allocations: 0 / 0.7972 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0107/0.2462, allocations: 1.326 MB / 0.7985 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.2464, allocations: 197.1 kB / 0.7987 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.026, allocations: 0 / 0.7987 GB, free: 15.64 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) Environment - environmentSimulation: