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.0008352/0.0008351, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005504/0.005504, allocations: 169.8 kB / 16.27 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.483/1.483, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.713/1.713, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005108/0.0005108, allocations: 19.44 kB / 0.6744 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2361, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.0007799/0.2369, allocations: 333.9 kB / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003863/0.2373, allocations: 116.6 kB / 0.7884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.148e-05/0.2374, allocations: 0 / 0.7884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.715e-05/0.2375, allocations: 3.938 kB / 0.7884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.2378, allocations: 19.98 kB / 0.7885 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.365e-05/0.2379, allocations: 7.984 kB / 0.7885 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.019e-05/0.238, allocations: 23.92 kB / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.2381, allocations: 20 kB / 0.7885 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.2382, allocations: 59.88 kB / 0.7886 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.72e-05/0.2383, allocations: 11.92 kB / 0.7886 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.2383, allocations: 0 / 0.7886 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.264e-06/0.2383, allocations: 0 / 0.7886 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.291e-05/0.2383, allocations: 15.94 kB / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.685e-05/0.2384, allocations: 41.56 kB / 0.7886 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.068e-05/0.2385, allocations: 47.86 kB / 0.7887 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2385, allocations: 3.938 kB / 0.7887 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2385, allocations: 4 kB / 0.7887 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2385, allocations: 0 / 0.7887 GB, free: 10.78 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.0002869/0.2388, allocations: 339.6 kB / 0.789 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2388, allocations: 15.97 kB / 0.789 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.2389, allocations: 30.75 kB / 0.7891 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.2389, allocations: 4.938 kB / 0.7891 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.2391, allocations: 184.3 kB / 0.7892 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.2391, allocations: 384 / 0.7892 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.2391, allocations: 4.375 kB / 0.7892 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.2393, allocations: 84.75 kB / 0.7893 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2393, allocations: 7.938 kB / 0.7893 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.2393, allocations: 0 / 0.7893 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2393, allocations: 0 / 0.7893 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.377e-05/0.2394, allocations: 23.92 kB / 0.7893 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.2398, allocations: 0.6089 MB / 0.7899 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.363e-05/0.2399, allocations: 169.1 kB / 0.7901 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.2399, allocations: 80.14 kB / 0.7902 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.24, allocations: 75.28 kB / 0.7903 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.24, allocations: 113.8 kB / 0.7904 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.24, allocations: 7.938 kB / 0.7904 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.3e-05/0.2401, allocations: 29.69 kB / 0.7904 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.2402, allocations: 130.7 kB / 0.7905 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.2403, allocations: 160.5 kB / 0.7907 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.2403, allocations: 29.7 kB / 0.7907 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.2404, allocations: 92.12 kB / 0.7908 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.2404, allocations: 7.938 kB / 0.7908 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/0.2404, allocations: 13.72 kB / 0.7908 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.345e-05/0.2405, allocations: 314.8 kB / 0.7911 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.426e-06/0.2405, allocations: 0 / 0.7911 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.201e-05/0.2405, allocations: 5.062 kB / 0.7911 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.753e-05/0.2406, allocations: 79.27 kB / 0.7912 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.08e-05/0.2406, allocations: 75.28 kB / 0.7913 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.666e-05/0.2407, allocations: 29.7 kB / 0.7913 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.2407, allocations: 83.28 kB / 0.7914 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/0.2407, allocations: 83.25 kB / 0.7915 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.16e-05/0.2408, allocations: 158.5 kB / 0.7916 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.439e-05/0.2408, allocations: 75.28 kB / 0.7917 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.403e-05/0.2409, allocations: 158.5 kB / 0.7918 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.241, allocations: 87.11 kB / 0.7919 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.241, allocations: 79.22 kB / 0.792 GB, free: 7.137 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.0001156/0.2411, allocations: 277 kB / 0.7922 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.2412, allocations: 105 kB / 0.7923 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.702e-05/0.2413, allocations: 109 kB / 0.7925 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.549e-05/0.2413, allocations: 188.2 kB / 0.7926 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.686e-05/0.2414, allocations: 184.3 kB / 0.7928 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.514e-05/0.2415, allocations: 192.1 kB / 0.793 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.2417, allocations: 417.2 kB / 0.7934 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.272e-05/0.2417, allocations: 105 kB / 0.7935 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.688e-05/0.2417, allocations: 104.9 kB / 0.7936 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.514e-05/0.2418, allocations: 176.3 kB / 0.7938 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.894e-05/0.2419, allocations: 184.2 kB / 0.7939 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-05/0.2419, allocations: 180.3 kB / 0.7941 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.016e-05/0.242, allocations: 184.2 kB / 0.7943 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.2421, allocations: 307.7 kB / 0.7946 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.271e-05/0.2422, allocations: 189.9 kB / 0.7948 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.658e-05/0.2422, allocations: 200.1 kB / 0.7949 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.226e-05/0.2423, allocations: 104.9 kB / 0.795 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.2424, allocations: 180.2 kB / 0.7952 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.2424, allocations: 101 kB / 0.7953 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.522e-05/0.2425, allocations: 126.4 kB / 0.7954 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2425, allocations: 0 / 0.7954 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000241/0.2428, allocations: 4 kB / 0.7954 GB, free: 3.371 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.0003439/0.2431, allocations: 0.8165 MB / 0.7962 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 3.456e-05/0.2432, allocations: 0 / 0.7962 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2432, allocations: 0 / 0.7962 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.125e-06/0.2432, allocations: 4 kB / 0.7962 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.2435, allocations: 0.537 MB / 0.7968 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.2447, allocations: 1.725 MB / 0.7984 GB, free: 188 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.2449, allocations: 0.6926 MB / 0.7991 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.821e-05/0.245, allocations: 7.984 kB / 0.7991 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.245, allocations: 11.44 kB / 0.7991 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.245, allocations: 0 / 0.7991 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01055/0.2555, allocations: 1.342 MB / 0.8005 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.2558, allocations: 218.5 kB / 0.8007 GB, free: 14 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/1.812, allocations: 4.109 kB / 0.8007 GB, free: 13.99 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/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)