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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 106 kB / 16.36 MB, free: 5.961 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.00176/0.00176, allocations: 191.1 kB / 17.3 MB, free: 5.57 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.599/1.599, allocations: 205.1 MB / 223.2 MB, free: 4.07 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.821/1.821, allocations: 292.3 MB / 0.5496 GB, free: 12.75 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.001483/0.001483, allocations: 71.69 kB / 0.6729 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2721, allocations: 114.5 MB / 0.7848 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002051/0.2742, allocations: 0.6375 MB / 0.7854 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.2757, allocations: 1.113 MB / 0.7865 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.536e-05/0.2758, allocations: 3.938 kB / 0.7865 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.2759, allocations: 0 / 0.7865 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.2761, allocations: 11.94 kB / 0.7865 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.2766, allocations: 119.1 kB / 0.7866 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000298/0.2769, allocations: 199.7 kB / 0.7868 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.277, allocations: 16 kB / 0.7868 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.499e-05/0.2771, allocations: 83.81 kB / 0.7869 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.2773, allocations: 75.77 kB / 0.787 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.283e-05/0.2773, allocations: 19.94 kB / 0.787 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.657e-05/0.2774, allocations: 27.98 kB / 0.787 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.497e-05/0.2775, allocations: 19.98 kB / 0.787 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.2776, allocations: 71.75 kB / 0.7871 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.2779, allocations: 199.4 kB / 0.7873 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2779, allocations: 0 / 0.7873 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2779, allocations: 0 / 0.7873 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.2779, allocations: 4 kB / 0.7873 GB, free: 10.15 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.00061/0.2785, allocations: 458.7 kB / 0.7877 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.2786, allocations: 8.031 kB / 0.7878 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.721e-05/0.2786, allocations: 16.83 kB / 0.7878 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.2789, allocations: 220.2 kB / 0.788 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.279, allocations: 4.375 kB / 0.788 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.279, allocations: 16.38 kB / 0.788 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.2792, allocations: 99.86 kB / 0.7881 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2792, allocations: 4.125 kB / 0.7881 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.2793, allocations: 7.938 kB / 0.7881 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.2793, allocations: 4 kB / 0.7881 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.804e-05/0.2793, allocations: 35.97 kB / 0.7881 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000627/0.28, allocations: 488.8 kB / 0.7886 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.79e-05/0.2801, allocations: 62.19 kB / 0.7887 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.784e-05/0.2801, allocations: 25.77 kB / 0.7887 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.024e-06/0.2801, allocations: 0 / 0.7887 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.2803, allocations: 121 kB / 0.7888 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 2.485e-06/0.2803, allocations: 3.984 kB / 0.7888 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0002781/0.2806, allocations: 129.5 kB / 0.7889 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.2807, allocations: 85.11 kB / 0.789 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.2808, allocations: 129.8 kB / 0.7891 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/0.2808, allocations: 33.7 kB / 0.7892 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.527e-05/0.2809, allocations: 103.9 kB / 0.7893 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.281, allocations: 7.906 kB / 0.7893 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.2811, allocations: 57.67 kB / 0.7893 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.2812, allocations: 322.8 kB / 0.7896 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.2814, allocations: 127.8 kB / 0.7898 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.2817, allocations: 161 kB / 0.7899 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.2819, allocations: 220.4 kB / 0.7901 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.282, allocations: 4 kB / 0.7901 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005888/0.2825, allocations: 384.6 kB / 0.7905 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.44e-05/0.2826, allocations: 67.39 kB / 0.7906 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2826, allocations: 0 / 0.7906 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.2826, allocations: 4.188 kB / 0.7906 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.406e-05/0.2827, allocations: 8 kB / 0.7906 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2827, allocations: 0 / 0.7906 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/0.2831, allocations: 67.78 kB / 0.7906 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.2831, allocations: 12 kB / 0.7907 GB, free: 6.379 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.0001387/0.2833, allocations: 142.4 kB / 0.7908 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.2833, allocations: 11.91 kB / 0.7908 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.2833, allocations: 11.84 kB / 0.7908 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2833, allocations: 4 kB / 0.7908 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2833, allocations: 0 / 0.7908 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.2834, allocations: 3.938 kB / 0.7908 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.2835, allocations: 185.6 kB / 0.791 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2835, allocations: 0 / 0.791 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.198e-06/0.2835, allocations: 3.984 kB / 0.791 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2835, allocations: 0 / 0.791 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.2836, allocations: 8 kB / 0.791 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2836, allocations: 0 / 0.791 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2836, allocations: 4 kB / 0.791 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.2838, allocations: 134.2 kB / 0.7911 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.2838, allocations: 81.11 kB / 0.7912 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.2838, allocations: 3.938 kB / 0.7912 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.352e-05/0.2839, allocations: 4 kB / 0.7912 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.2839, allocations: 15.91 kB / 0.7912 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.2839, allocations: 8 kB / 0.7912 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.866e-05/0.284, allocations: 95.27 kB / 0.7913 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.284, allocations: 0 / 0.7913 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002588/0.2843, allocations: 43.84 kB / 0.7914 GB, free: 5.527 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.0001574/0.2844, allocations: 103.2 kB / 0.7915 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004836/0.2849, allocations: 326.6 kB / 0.7918 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2849, allocations: 384 / 0.7918 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.752e-05/0.285, allocations: 39.91 kB / 0.7918 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.2853, allocations: 23.98 kB / 0.7919 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.2857, allocations: 211.3 kB / 0.7921 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.286, allocations: 0.6992 MB / 0.7927 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.886e-05/0.286, allocations: 11.98 kB / 0.7927 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.286, allocations: 11.44 kB / 0.7928 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of SimCode: time 1.633e-06/0.286, allocations: 0 / 0.7928 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of Templates: time 0.004866/0.2909, allocations: 2.257 MB / 0.795 GB, free: 1.797 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1)