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.001464/0.001464, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.727/1.727, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.716/1.716, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001486/0.001486, allocations: 73.88 kB / 0.6716 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2545, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.002155/0.2567, allocations: 0.5885 MB / 0.7841 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000397/0.2572, allocations: 116.6 kB / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.883e-05/0.2572, allocations: 4 kB / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.2573, allocations: 3.938 kB / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003843/0.2577, allocations: 31.89 kB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.071e-05/0.2578, allocations: 4 kB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.914e-05/0.2579, allocations: 27.92 kB / 0.7842 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.258, allocations: 23.98 kB / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.2582, allocations: 51.91 kB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.725e-05/0.2583, allocations: 23.91 kB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.2583, allocations: 3.938 kB / 0.7843 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.2583, allocations: 4 kB / 0.7843 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.2584, allocations: 15.92 kB / 0.7844 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.2584, allocations: 15.88 kB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.541e-05/0.2585, allocations: 43.88 kB / 0.7844 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2585, allocations: 11.94 kB / 0.7844 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2585, allocations: 0 / 0.7844 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.2585, allocations: 0 / 0.7844 GB, free: 12.42 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.0003741/0.2589, allocations: 343.6 kB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.259, allocations: 12.03 kB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.971e-05/0.259, allocations: 42.73 kB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.259, allocations: 8.844 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.2592, allocations: 184.2 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.2592, allocations: 8.359 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.2592, allocations: 4.375 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.2594, allocations: 80.81 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2594, allocations: 3.938 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.2594, allocations: 0 / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2594, allocations: 0 / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.091e-05/0.2594, allocations: 23.92 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.2598, allocations: 0.6051 MB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.411e-05/0.2599, allocations: 165.1 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.525e-05/0.2599, allocations: 80.14 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.26, allocations: 75.28 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.26, allocations: 121.8 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.26, allocations: 3.938 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.737e-05/0.2601, allocations: 33.61 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.2602, allocations: 130.7 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.2603, allocations: 161.5 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.2603, allocations: 25.7 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/0.2604, allocations: 96.12 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.2604, allocations: 4 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.2604, allocations: 9.719 kB / 0.7866 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.2605, allocations: 318.8 kB / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-06/0.2605, allocations: 0 / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.095e-05/0.2605, allocations: 3.984 kB / 0.7869 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.514e-05/0.2606, allocations: 83.22 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.142e-05/0.2606, allocations: 75.28 kB / 0.787 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.267e-05/0.2606, allocations: 37.55 kB / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.2607, allocations: 83.31 kB / 0.7871 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.2607, allocations: 75.28 kB / 0.7872 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.292e-05/0.2608, allocations: 158.5 kB / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.536e-05/0.2608, allocations: 83.27 kB / 0.7874 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.806e-05/0.2608, allocations: 155.6 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.261, allocations: 83.22 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.261, allocations: 83.31 kB / 0.7877 GB, free: 8.762 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.0001143/0.2611, allocations: 268.4 kB / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/0.2612, allocations: 112.8 kB / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.2612, allocations: 112.8 kB / 0.7882 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.764e-05/0.2613, allocations: 188.2 kB / 0.7884 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-05/0.2614, allocations: 184.3 kB / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.347e-05/0.2614, allocations: 180.2 kB / 0.7887 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.2616, allocations: 417.4 kB / 0.7891 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.399e-05/0.2617, allocations: 105 kB / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/0.2617, allocations: 105 kB / 0.7893 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.737e-05/0.2618, allocations: 184.3 kB / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.813e-05/0.2619, allocations: 180.3 kB / 0.7897 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.846e-05/0.2619, allocations: 188.2 kB / 0.7899 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.104e-05/0.262, allocations: 176.3 kB / 0.79 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.2621, allocations: 311.7 kB / 0.7903 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.979e-05/0.2622, allocations: 194 kB / 0.7905 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.017e-05/0.2623, allocations: 188.1 kB / 0.7907 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.831e-05/0.2624, allocations: 105 kB / 0.7908 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.2624, allocations: 188.1 kB / 0.791 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.2624, allocations: 101 kB / 0.7911 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.419e-05/0.2625, allocations: 123.2 kB / 0.7912 GB, free: 5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2625, allocations: 4 kB / 0.7912 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002413/0.2628, allocations: 4 kB / 0.7912 GB, free: 4.992 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.0003122/0.2631, allocations: 0.8125 MB / 0.792 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 3.21e-05/0.2631, allocations: 0 / 0.792 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2632, allocations: 4 kB / 0.792 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.2632, allocations: 0 / 0.792 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.2635, allocations: 467.6 kB / 0.7924 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.2646, allocations: 1.733 MB / 0.7941 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.2649, allocations: 0.6885 MB / 0.7948 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.906e-05/0.2649, allocations: 15.83 kB / 0.7948 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.2649, allocations: 11.44 kB / 0.7948 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2649, allocations: 0 / 0.7948 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.2805, allocations: 1.494 MB / 0.7963 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.435/7.715, allocations: 17.5 kB / 0.7963 GB, free: 15.72 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)