Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.IntegerVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",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.00125/0.00125, allocations: 99.86 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.001379/0.00138, allocations: 177.3 kB / 15.95 MB, free: 216 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.789/1.789, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.617/1.617, allocations: 292.6 MB / 0.5497 GB, free: 14.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.0007489/0.0007492, allocations: 13.56 kB / 0.6737 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2764, 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.IntegerVectorReplicator): time 0.0008214/0.2773, allocations: 397.6 kB / 0.7876 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009348/0.2782, allocations: 0.8255 MB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.2783, allocations: 0 / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.057e-05/0.2784, allocations: 7.984 kB / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.056e-05/0.2784, allocations: 7.938 kB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000101/0.2786, allocations: 19.91 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.102e-05/0.2787, allocations: 31.95 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.2788, allocations: 27.98 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.221e-05/0.2789, allocations: 23.91 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.573e-05/0.2789, allocations: 27.91 kB / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.279, allocations: 4 kB / 0.7886 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.279, allocations: 7.938 kB / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.869e-05/0.279, allocations: 19.92 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.2791, allocations: 37.64 kB / 0.7886 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.642e-05/0.2792, allocations: 67.86 kB / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.2792, allocations: 4 kB / 0.7887 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2792, allocations: 0 / 0.7887 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.2792, allocations: 0 / 0.7887 GB, free: 10.37 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000571/0.2797, allocations: 391.3 kB / 0.7891 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.2798, allocations: 12.03 kB / 0.7891 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/0.2798, allocations: 42.55 kB / 0.7891 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.2799, allocations: 7.906 kB / 0.7891 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.2801, allocations: 183 kB / 0.7893 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.2801, allocations: 4 kB / 0.7893 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.2801, allocations: 8 kB / 0.7893 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/0.2805, allocations: 179.2 kB / 0.7895 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.2805, allocations: 0 / 0.7895 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.2805, allocations: 0 / 0.7895 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.2805, allocations: 4 kB / 0.7895 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.281, allocations: 171.8 kB / 0.7897 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005462/0.2815, allocations: 456.6 kB / 0.7901 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.2818, allocations: 133.1 kB / 0.7902 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.2819, allocations: 0 / 0.7902 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.2819, allocations: 30.56 kB / 0.7902 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.2819, allocations: 0 / 0.7902 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0007467/0.2827, allocations: 269.6 kB / 0.7905 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.2827, allocations: 77.11 kB / 0.7906 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.2828, allocations: 141.7 kB / 0.7907 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.2828, allocations: 25.7 kB / 0.7907 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.2829, allocations: 92.05 kB / 0.7908 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.2829, allocations: 15.95 kB / 0.7908 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.2829, allocations: 0 / 0.7908 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.283, allocations: 314.8 kB / 0.7911 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.2832, allocations: 67.92 kB / 0.7912 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.2835, allocations: 97.62 kB / 0.7913 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.2837, allocations: 71.92 kB / 0.7914 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2837, allocations: 0 / 0.7914 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000441/0.2841, allocations: 185.4 kB / 0.7915 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2841, allocations: 4 kB / 0.7915 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2842, allocations: 4 kB / 0.7916 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2842, allocations: 3.953 kB / 0.7916 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.2844, allocations: 36.02 kB / 0.7916 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2844, allocations: 0 / 0.7916 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.2845, allocations: 15.98 kB / 0.7916 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.2845, allocations: 4 kB / 0.7916 GB, free: 7.129 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001085/0.2846, allocations: 133.8 kB / 0.7917 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.2847, allocations: 3.938 kB / 0.7917 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.2847, allocations: 15.53 kB / 0.7918 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2847, allocations: 96 / 0.7918 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2847, allocations: 3.953 kB / 0.7918 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2847, allocations: 3.984 kB / 0.7918 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.285, allocations: 205.7 kB / 0.792 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.285, allocations: 0 / 0.792 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.2851, allocations: 31.91 kB / 0.792 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2851, allocations: 3.984 kB / 0.792 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.2852, allocations: 4 kB / 0.792 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2852, allocations: 4 kB / 0.792 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2852, allocations: 0 / 0.792 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.2857, allocations: 364.3 kB / 0.7924 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.2857, allocations: 85.02 kB / 0.7924 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.2858, allocations: 4 kB / 0.7924 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.2859, allocations: 23.97 kB / 0.7925 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.67e-05/0.286, allocations: 23.92 kB / 0.7925 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.286, allocations: 4 kB / 0.7925 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.001e-05/0.2861, allocations: 107.5 kB / 0.7926 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2861, allocations: 0 / 0.7926 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002611/0.2864, allocations: 8 kB / 0.7926 GB, free: 6.016 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0008365/0.2872, allocations: 0.9695 MB / 0.7935 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004539/0.2877, allocations: 159.8 kB / 0.7937 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2877, allocations: 0 / 0.7937 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.2879, allocations: 104 kB / 0.7938 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.2882, allocations: 14.39 kB / 0.7938 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.2896, allocations: 0.8429 MB / 0.7946 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.2899, allocations: 0.7043 MB / 0.7953 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.434e-05/0.2899, allocations: 19.98 kB / 0.7953 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.29, allocations: 23.42 kB / 0.7954 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.29, allocations: 4 kB / 0.7954 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01138/0.3014, allocations: 1.98 MB / 0.7973 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.3016, allocations: 198.9 kB / 0.7975 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.146/3.447, allocations: 3.938 kB / 0.7975 GB, free: 1.035 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) Environment - environmentSimulation: