Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.BooleanVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",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.001418/0.001418, allocations: 108 kB / 15.6 MB, free: 132 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.001779/0.001779, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.758/1.758, allocations: 205.1 MB / 222.4 MB, free: 4.562 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.818/1.818, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.0017/0.0017, allocations: 71.22 kB / 0.6716 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2722, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002163/0.2744, allocations: 0.6313 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.2759, allocations: 1.117 MB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.288e-05/0.276, allocations: 0 / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.2761, allocations: 3.938 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.759e-05/0.2762, allocations: 15.92 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.2766, allocations: 115 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.2769, allocations: 195.7 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.277, allocations: 16 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.2771, allocations: 79.83 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.2773, allocations: 63.8 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.255e-05/0.2773, allocations: 16 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.2774, allocations: 27.98 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.005e-05/0.2775, allocations: 23.97 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.2776, allocations: 67.77 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.2779, allocations: 195.8 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2779, allocations: 7.984 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2779, allocations: 4 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2779, allocations: 0 / 0.786 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006025/0.2786, allocations: 450.7 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.2786, allocations: 8.031 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/0.2787, allocations: 38.75 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/0.2787, allocations: 12.84 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.279, allocations: 220.1 kB / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.279, allocations: 20.34 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.279, allocations: 12.38 kB / 0.7867 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.2792, allocations: 99.86 kB / 0.7868 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2792, allocations: 3.938 kB / 0.7868 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.2793, allocations: 4 kB / 0.7868 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2793, allocations: 3.938 kB / 0.7868 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.824e-05/0.2793, allocations: 39.97 kB / 0.7869 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000558/0.2799, allocations: 492.8 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.366e-05/0.28, allocations: 50.25 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.28, allocations: 33.7 kB / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.28, allocations: 0 / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.2802, allocations: 121 kB / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.2802, allocations: 0 / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0002853/0.2805, allocations: 133.5 kB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.2806, allocations: 77.11 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.2807, allocations: 137.8 kB / 0.7879 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.2808, allocations: 37.69 kB / 0.7879 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.2808, allocations: 99.94 kB / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.2809, allocations: 15.84 kB / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.281, allocations: 57.67 kB / 0.7881 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.2811, allocations: 314.8 kB / 0.7884 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.2813, allocations: 127.8 kB / 0.7885 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.2815, allocations: 165 kB / 0.7886 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.2817, allocations: 212.4 kB / 0.7888 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.2817, allocations: 3.984 kB / 0.7888 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005225/0.2823, allocations: 380.6 kB / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.916e-05/0.2823, allocations: 71.39 kB / 0.7893 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2823, allocations: 0 / 0.7893 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2824, allocations: 384 / 0.7893 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.943e-05/0.2824, allocations: 7.938 kB / 0.7893 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2824, allocations: 4 kB / 0.7893 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004005/0.2828, allocations: 68.03 kB / 0.7894 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-05/0.2828, allocations: 15.98 kB / 0.7894 GB, free: 6.961 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001126/0.283, allocations: 129.8 kB / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.283, allocations: 11.89 kB / 0.7895 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.283, allocations: 11.91 kB / 0.7895 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.283, allocations: 0 / 0.7895 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.283, allocations: 0 / 0.7895 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2831, allocations: 7.938 kB / 0.7895 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.2832, allocations: 193.6 kB / 0.7897 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2832, allocations: 3.984 kB / 0.7897 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.084e-05/0.2832, allocations: 11.88 kB / 0.7897 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.2832, allocations: 0 / 0.7897 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.2832, allocations: 0 / 0.7897 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.2833, allocations: 7.938 kB / 0.7897 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2833, allocations: 0 / 0.7897 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.2834, allocations: 133.8 kB / 0.7899 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.2835, allocations: 85.02 kB / 0.7899 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.2835, allocations: 8 kB / 0.7899 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.064e-05/0.2835, allocations: 0 / 0.7899 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.2835, allocations: 11.92 kB / 0.79 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.2836, allocations: 0 / 0.79 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.519e-05/0.2836, allocations: 103.8 kB / 0.7901 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2836, allocations: 4 kB / 0.7901 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002511/0.2839, allocations: 35.92 kB / 0.7901 GB, free: 6.109 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: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004358/0.2843, allocations: 0.6756 MB / 0.7908 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000429/0.2848, allocations: 326.6 kB / 0.7911 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2848, allocations: 0 / 0.7911 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.597e-05/0.2848, allocations: 36.28 kB / 0.7911 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.2851, allocations: 26.36 kB / 0.7911 GB, free: 5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.2874, allocations: 2.158 MB / 0.7932 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.2877, allocations: 0.711 MB / 0.7939 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.2878, allocations: 4 kB / 0.7939 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.2878, allocations: 23.42 kB / 0.794 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.2878, allocations: 0 / 0.794 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.3071, allocations: 3.452 MB / 0.7973 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.323/7.63, allocations: 16.8 kB / 0.7973 GB, free: 14.62 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1)